From 98b427b8835eca42c0ee401a4deb842a9445a737 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sun, 7 Dec 2014 19:46:57 -0400 Subject: 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). --- test2.lang | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'test2.lang') 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")))) -- cgit v1.2.3