diff options
author | Eduardo Julian | 2014-12-07 19:46:57 -0400 |
---|---|---|
committer | Eduardo Julian | 2014-12-07 19:46:57 -0400 |
commit | 98b427b8835eca42c0ee401a4deb842a9445a737 (patch) | |
tree | f70079f05df9f49ffe15c0d3cd15b78232a6cdd2 /test2.lang | |
parent | 0bccd6a2313dc5eadb635d1fbf02dbb0a5ff2cfe (diff) |
Cleaned up a lot of useless code and removed the state monad from the compilation phase (the ASM library already works as a state monad).
Diffstat (limited to '')
-rw-r--r-- | test2.lang | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test2.lang b/test2.lang index df0fe3aac..feb3adc3f 100644 --- a/test2.lang +++ b/test2.lang @@ -9,8 +9,10 @@ fields (: out java.io.PrintStream)) -(_. (_.. java.lang.System out) (println "MEME")) +(def (id x) + x) -(if true - (_. (_.. java.lang.System out) (println "TRUE")) - (_. (_.. java.lang.System out) (println "FALSE"))) +(def (main args) + (if true + (_. (_.. java.lang.System out) (println "TRUE")) + (_. (_.. java.lang.System out) (println "FALSE")))) |