diff options
author | Eduardo Julian | 2016-02-17 18:36:29 -0400 |
---|---|---|
committer | Eduardo Julian | 2016-02-17 18:36:29 -0400 |
commit | fe0ae000cbec6f087b8997a6e3e3cf508278d066 (patch) | |
tree | d1a374632f13aa45e362824ca64b9ce8dbdb809c /src/lux.clj | |
parent | c399df2340112eb2e670eab62956b808fbfa0565 (diff) |
- Added CompilerMode and CompilerInfo data to the Compiler state.
- Removed the (now unnecessary #;eval? tag).
Diffstat (limited to 'src/lux.clj')
-rw-r--r-- | src/lux.clj | 8 |
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."))) |