aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2014-01-06 23:13:21 +0100
committerDrahflow <drahflow@gmx.de>2014-01-06 23:13:21 +0100
commit90d664bc9e77530113c9a65bd02bae4667a2c25c (patch)
tree289e69b262ef72e09816981817e48d24aeec9a31 /examples
parentdef28d4cbac907f45ad083f01a34aca5f1c78fe8 (diff)
streq -> eq
Diffstat (limited to 'examples')
-rw-r--r--examples/working-compiler/grammar-pre.test2
-rw-r--r--examples/working-loaded/httpServer.test4
-rw-r--r--examples/working/macro.ey2
-rw-r--r--examples/working/streq_autoloop.ey4
4 files changed, 6 insertions, 6 deletions
diff --git a/examples/working-compiler/grammar-pre.test b/examples/working-compiler/grammar-pre.test
index 6c9c8ca..eaaa41c 100644
--- a/examples/working-compiler/grammar-pre.test
+++ b/examples/working-compiler/grammar-pre.test
@@ -1,4 +1,4 @@
-[ "(" ")" "[" "]" "-" "|" ] { _ { streq }_ "'" -102 cat deff }' each
+[ "(" ")" "[" "]" "-" "|" ] { _ { eq }_ "'" -102 cat deff }' each
"[" '[ dump
"x" '[ dump
diff --git a/examples/working-loaded/httpServer.test b/examples/working-loaded/httpServer.test
index fdfce61..47ff274 100644
--- a/examples/working-loaded/httpServer.test
+++ b/examples/working-loaded/httpServer.test
@@ -3,10 +3,10 @@ net .alg .httpServer "+" via
{ ":" via
:url dump
[
- { :url "/" streq } {
+ { :url "/" eq } {
"<html><body>Hallo Welt!<a href=\"/test\">Test</a></body></html>"
"text/html" :ok
- } { :url "/test" streq } {
+ } { :url "/test" eq } {
"<html><body>Test!</body></html>"
"text/html" :ok
}
diff --git a/examples/working/macro.ey b/examples/working/macro.ey
index 10c7d3b..f09a7de 100644
--- a/examples/working/macro.ey
+++ b/examples/working/macro.ey
@@ -40,7 +40,7 @@
indent [ "\"" -102 "\"\n" ] |out each
} {
indent _ sym _ out
- "{" streq { 0 =cont |lol } { -- } ? *
+ "{" eq { 0 =cont |lol } { -- } ? *
"\n" out
} {
blk |walk each
diff --git a/examples/working/streq_autoloop.ey b/examples/working/streq_autoloop.ey
index d651e00..e83c672 100644
--- a/examples/working/streq_autoloop.ey
+++ b/examples/working/streq_autoloop.ey
@@ -1,2 +1,2 @@
-/a /a streq dump
-/d [ /a /b /c /d /e /f /g /h ] streq dump
+/a /a eq dump
+/d [ /a /b /c /d /e /f /g /h ] eq dump