about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2024-04-05 13:38:41 -0500
committerCase Duckworth2024-04-05 13:38:41 -0500
commit47eace2e69149865a3aeae31bdade132840afc5f (patch)
treedc64599f97245c2d8413e954df04c2bc1634a33d
parentrequire repl in makefile (diff)
downloadlam-47eace2e69149865a3aeae31bdade132840afc5f.tar.gz
lam-47eace2e69149865a3aeae31bdade132840afc5f.zip
Add test file
-rw-r--r--a.lam13
1 files changed, 13 insertions, 0 deletions
diff --git a/a.lam b/a.lam new file mode 100644 index 0000000..f85ee25 --- /dev/null +++ b/a.lam
@@ -0,0 +1,13 @@
1;; -*- scheme -*-
2
3(define a (+ 1 2))
4(define b (* a 3))
5
6(define print
7 (lambda (x)
8 (display x)
9 (newline)))
10
11(print a)
12(print b)
13(print (+ a b))