aboutsummaryrefslogtreecommitdiff
path: root/src/lux.clj
diff options
context:
space:
mode:
authorEduardo Julian2015-12-02 19:10:31 -0400
committerEduardo Julian2015-12-02 19:10:31 -0400
commit2c392029d19aee4962f3b37b4f10eb79f7c01e3f (patch)
treec9bad63534939e71d07903a0dd955f366b2d7404 /src/lux.clj
parenta8b1320ce27470cb462c32ca344e31404dbe2bde (diff)
- Made a variety of refactorings and minor changes.
- Generic class definitions are halfway done.
Diffstat (limited to '')
-rw-r--r--src/lux.clj4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lux.clj b/src/lux.clj
index c5d192879..15ba16e5c 100644
--- a/src/lux.clj
+++ b/src/lux.clj
@@ -14,9 +14,7 @@
(defn -main [& args]
(|case (&/->list args)
(&/$Cons "compile" (&/$Cons program-module (&/$Nil)))
- (if program-module
- (time (&compiler/compile-program program-module))
- (println "Please provide a module name to compile."))
+ (time (&compiler/compile-program program-module))
_
(println "Can't understand command.")))