diff options
| author | Drahflow <drahflow@gmx.de> | 2019-06-22 23:04:41 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2019-06-22 23:04:41 +0200 |
| commit | 548963638d2c61292135fba16682d445412a3b00 (patch) | |
| tree | efe40316103410924a78a1648eef79398b4bb291 | |
| parent | 75b507963144bcdd86a04700609b07fcb5ab5bdd (diff) | |
Test-case for polymorphism in grep
| -rw-r--r-- | examples/working-compiler/grep-fast.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/working-compiler/grep-fast.test b/examples/working-compiler/grep-fast.test new file mode 100644 index 0000000..ba70b96 --- /dev/null +++ b/examples/working-compiler/grep-fast.test @@ -0,0 +1,17 @@ +{ =*?p { [ -01 { _ p { } { -- } ? * } each ] } } /engrep deffd + +{ + engrep +* } /grep deffd + +[ 1 2 3 4 5 6 7 8 9 10 ] ==data + +1000000 { + data { 5 eq } grep -- +} rep + +5 ==i + +1000000 { + data { i eq }" grep -- +} rep |
