From 8c3037662ba572a6935170dbd4cb8cc8a3636417 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 22 Jun 2024 18:22:24 +0100 Subject: compilation of functions, and some parts of interpreting them --- tests/func1.bth | 3 +++ tests/func1.out | 1 + 2 files changed, 4 insertions(+) create mode 100644 tests/func1.bth create mode 100644 tests/func1.out (limited to 'tests') diff --git a/tests/func1.bth b/tests/func1.bth new file mode 100644 index 0000000..c46e956 --- /dev/null +++ b/tests/func1.bth @@ -0,0 +1,3 @@ +(do + (set f (fn (_) 42)) + (f 0)) diff --git a/tests/func1.out b/tests/func1.out new file mode 100644 index 0000000..d81cc07 --- /dev/null +++ b/tests/func1.out @@ -0,0 +1 @@ +42 -- cgit v1.2.3