summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-24 19:30:09 +0100
committerubq323 <ubq323@ubq323.website>2024-06-24 19:30:09 +0100
commitbc47478d855b08023409dbfc8550958991265c14 (patch)
tree804e45dd6b57917ccaf4d64832909061738b41e4 /tests
parentbea93dc98b602472bb36635dfdf425d14d826673 (diff)
keep track of stack position while compiling
Diffstat (limited to 'tests')
-rw-r--r--tests/vars1.bth2
-rw-r--r--tests/vars1.out1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/vars1.bth b/tests/vars1.bth
new file mode 100644
index 0000000..718b52b
--- /dev/null
+++ b/tests/vars1.bth
@@ -0,0 +1,2 @@
+(+ 2 (let (a 10)
+ (* a a)))
diff --git a/tests/vars1.out b/tests/vars1.out
new file mode 100644
index 0000000..257e563
--- /dev/null
+++ b/tests/vars1.out
@@ -0,0 +1 @@
+102