summaryrefslogtreecommitdiff
path: root/code.lysp
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-08-23 20:58:50 +0200
committertomsmeding <tom.smeding@gmail.com>2016-08-23 20:58:50 +0200
commitcac651cd88f8da1e5957b0cc13fa25d79e1887fc (patch)
tree38b2645803df92661b797a64f18772e691d3d8fd /code.lysp
parent44602cb35735575c15cfcb92779337778649df8a (diff)
Many things
- two-letter AST union members - AST_QUOTED - AST_LAMBDA - an interpreter that works - function registering in the interpreter - some builtins
Diffstat (limited to 'code.lysp')
-rw-r--r--code.lysp18
1 files changed, 11 insertions, 7 deletions
diff --git a/code.lysp b/code.lysp
index 47a0268..f509404 100644
--- a/code.lysp
+++ b/code.lysp
@@ -1,7 +1,11 @@
-(print
- (+ 1 (% 10 3))
- ()
- '( #| dit is commentaar|# ())
- (('()))
- 'kaas ;meer commentaar
- "kazen enzo")
+(do
+ (print 42)
+ (print
+ (+ 1 (% 10 3))
+ ()
+ '( #| dit is commentaar|# ())
+ '(('()))
+ '''"hoi"
+ '''''(dit is quoted)
+ 'kaas ;meer commentaar
+ "kazen enzo")) \ No newline at end of file