more examples
This commit is contained in:
parent
e54e75e6f0
commit
11458ecdaa
3
examples/define.lisp
Normal file
3
examples/define.lisp
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
(define a 10)
|
||||||
|
(define b 20)
|
||||||
|
(define c (+ a b))
|
4
examples/quote.lisp
Normal file
4
examples/quote.lisp
Normal 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))
|
Loading…
Reference in a new issue