emit if and true/false/nil constants

This commit is contained in:
Nathan Braswell
2020-04-13 22:55:25 -04:00
parent 05c77e3ad9
commit 4b44277d30
2 changed files with 14 additions and 3 deletions

4
bf.kp
View File

@@ -49,5 +49,7 @@
(println (bf { ,>+++[<.>-] } [1337]))
;(def! main (fn* [argv] 2))
(def! main (fn* [] (let* (a 13 b 12 c 11) b)))
;(def! main (fn* [] (let* (a 13 b 12 c 11) b)))
;(def! main (fn* [] (do 13 12 11)))
(def! main (fn* [] (if false 1 2)))
;(def! main (fn* [] (+ 13 1)))