summaryrefslogtreecommitdiff
path: root/tests/vars.bþ
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-21 12:56:30 +0100
committerubq323 <ubq323@ubq323.website>2024-06-21 12:56:30 +0100
commit21994864559386f1d11c001d6d27714cbf624a15 (patch)
treeb9a5e76bdc8be9a41970cd6620aab7a3637b7e6a /tests/vars.bþ
parent671645c370498955eb101695bd9099bf4caf5aea (diff)
add tests, and make dumping disasm optional
Diffstat (limited to 'tests/vars.bþ')
-rw-r--r--tests/vars.bþ9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/vars.bþ b/tests/vars.bþ
new file mode 100644
index 0000000..7799acf
--- /dev/null
+++ b/tests/vars.bþ
@@ -0,0 +1,9 @@
+(do
+ (set a 5)
+ (set b 10)
+ (set thethe 1234)
+ (print (+ a b))
+ (print (- thethe a))
+ (print (+ (set a 90) b))
+ (print a)
+ nil)