summaryrefslogtreecommitdiff
path: root/test.prn
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-08-19 14:19:01 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-08-19 14:19:01 +0200
commit14ec4b8342ee1abc268d13f6c5c33f982c16f41e (patch)
tree570043db652e94c5c1c47d2dd55c790959893d13 /test.prn
parent69b36951cb31a50271b3e6882018548c8a60a2e7 (diff)
2nd and 3rd pass, lots o builtins, keywords
Diffstat (limited to 'test.prn')
-rw-r--r--test.prn19
1 files changed, 16 insertions, 3 deletions
diff --git a/test.prn b/test.prn
index 4cf7828..c04d8a9 100644
--- a/test.prn
+++ b/test.prn
@@ -1,6 +1,19 @@
@defun "hoi" {
"hoi\n" print
}
-hoi hoi hoi
-"a" "b\x0a" + print
-1 12 + 3 - print
+"post" "run\x0a" + print
+5 dup while
+ dup " " + print hoi
+ 1 -
+dup end
+
+2 1 > if
+ "2>1!" print lf
+else
+ "logic?" print lf
+end
+
+0 if
+ "yup!" print lf
+end
+"done." print lf