add some examples

This commit is contained in:
able 2024-05-03 12:33:48 -05:00
parent d44f3f30c8
commit 2019b49447
2 changed files with 6 additions and 0 deletions

2
examples/lambda.lisp Normal file
View file

@ -0,0 +1,2 @@
(define a (λ () (+ 1 2 3)))
(a)

4
examples/math.lisp Normal file
View file

@ -0,0 +1,4 @@
(+ 1 2 3 4 5 6 7 8 9 10) ; 55
(- 10 9 8 7 6 5 4 3 2 1) ; -35
(* 1 2 3 4 5 6 7 8 9 10) ; 3628800
(/ 10 5) ; 2