From bc47478d855b08023409dbfc8550958991265c14 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 24 Jun 2024 19:30:09 +0100 Subject: keep track of stack position while compiling --- tests/vars1.bth | 2 ++ tests/vars1.out | 1 + 2 files changed, 3 insertions(+) create mode 100644 tests/vars1.bth create mode 100644 tests/vars1.out (limited to 'tests') 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 -- cgit v1.2.3