summaryrefslogtreecommitdiff
path: root/test.prn
diff options
context:
space:
mode:
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