aboutsummaryrefslogtreecommitdiff
path: root/examples/working-compiler/str.test
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-09-03 10:22:40 +0200
committerDrahflow <drahflow@gmx.de>2013-09-03 10:22:40 +0200
commit7560990d9c614e150ded685004a6a0e2c6eb3034 (patch)
tree849ed5f39956e89d703ee19c6138eb20dc42a9e5 /examples/working-compiler/str.test
parent92b6155a1c3a209936dddebb8bf3372ebee78f94 (diff)
str .infix now available
Position semantics now consistent str _ .postfix also available .prefix also available
Diffstat (limited to 'examples/working-compiler/str.test')
-rw-r--r--examples/working-compiler/str.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/working-compiler/str.test b/examples/working-compiler/str.test
new file mode 100644
index 0000000..470a93b
--- /dev/null
+++ b/examples/working-compiler/str.test
@@ -0,0 +1,8 @@
+0 3 "abcdef" str .infix dump
+3 6 "abcdef" str .infix dump
+0 2 neg "abcdef" str .infix dump
+2 neg 6 "abcdef" str .infix dump
+3 neg 1 neg "abcdef" str .infix dump
+2 0 "abcdef" str .infix dump
+2 neg "abcdef" str .postfix dump
+2 "abcdef" str .prefix dump