aboutsummaryrefslogtreecommitdiff
path: root/src/lux.clj
diff options
context:
space:
mode:
authorEduardo Julian2016-02-17 18:36:29 -0400
committerEduardo Julian2016-02-17 18:36:29 -0400
commitfe0ae000cbec6f087b8997a6e3e3cf508278d066 (patch)
treed1a374632f13aa45e362824ca64b9ce8dbdb809c /src/lux.clj
parentc399df2340112eb2e670eab62956b808fbfa0565 (diff)
- Added CompilerMode and CompilerInfo data to the Compiler state.
- Removed the (now unnecessary #;eval? tag).
Diffstat (limited to '')
-rw-r--r--src/lux.clj8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lux.clj b/src/lux.clj
index 15ba16e5c..f1f43b7af 100644
--- a/src/lux.clj
+++ b/src/lux.clj
@@ -14,7 +14,13 @@
(defn -main [& args]
(|case (&/->list args)
(&/$Cons "compile" (&/$Cons program-module (&/$Nil)))
- (time (&compiler/compile-program program-module))
+ (time (&compiler/compile-program &/$Release program-module))
+
+ (&/$Cons "compile" (&/$Cons "release" (&/$Cons program-module (&/$Nil))))
+ (time (&compiler/compile-program &/$Release program-module))
+
+ (&/$Cons "compile" (&/$Cons "debug" (&/$Cons program-module (&/$Nil))))
+ (time (&compiler/compile-program &/$Debug program-module))
_
(println "Can't understand command.")))