48607f0
Branches > main > 48607f0 > files
Comment notes
Commit: 48607f0b8d2c11a562d48f9490c913554c6f1980
Parent: f18d690
2 changed files:
org/faddle/lang/compile.lua view file
@@ -12,6 +12,7 @@ local lisp_print = require("org.faddle.lang.print").print -- Still bad :p+-- There are a handful of unimplemented special forms that can only be evalled but not compiled! local FN = intern("fn") local LET = intern("let") local DO = intern("do")test.lua view file
@@ -176,6 +176,8 @@ teq(read_eval("(let [] 1 2 3)"), 3) teq(read_eval("(let [x 1 y 2] [x y])"), {1, 2}) +-- TODO make tests for compiling things that are known to work when evaluated+ -- Feels like do could be implemented in terms of let or fn idk. -- teq(read_eval("(do)"), nil) -- teq(read_eval("(do 1)"), 1)