more examples

This commit is contained in:
able 2024-05-03 12:49:43 -05:00
parent e54e75e6f0
commit 11458ecdaa
2 changed files with 7 additions and 0 deletions

3
examples/define.lisp Normal file
View file

@ -0,0 +1,3 @@
(define a 10)
(define b 20)
(define c (+ a b))

4
examples/quote.lisp Normal file
View file

@ -0,0 +1,4 @@
; typical lisps support '() as shorthand for (quote ())
; this lisp will not. Both from a practical standpoint and an idealogical one.
(' (1 2 3 4))
(quote (1 2 3 4))