summaryrefslogtreecommitdiff
path: root/test/bits.lorth
diff options
context:
space:
mode:
Diffstat (limited to 'test/bits.lorth')
-rw-r--r--test/bits.lorth15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/bits.lorth b/test/bits.lorth
new file mode 100644
index 0000000..77be5b0
--- /dev/null
+++ b/test/bits.lorth
@@ -0,0 +1,15 @@
+;;; test
+;;; (format nil "~{~a~%~}" (append '(0 1 2)
+;;; '(7 3 5)
+;;; '(4 32 12)))
+1 2 & dump
+1 1 & dump
+3 2 & dump
+
+1 2 4 | | dump
+3 1 | dump
+5 5 | dump
+
+32 3 >> dump
+1 5 << dump
+3 2 << dump \ No newline at end of file