aboutsummaryrefslogtreecommitdiff
path: root/src/lux.clj
blob: eb025f55e5e3f6aad22e8bf06be297701030f289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(ns lux
  (:gen-class)
  (:require [lux.base :as &]
            [lux.compiler :as &compiler]
            [lux.type :as &type]
            :reload-all))

(defn -main [& _]
  (do (time (&compiler/compile-all (&/|list "program")))
    ;; (prn @&type/counter)
    )
  (System/exit 0))

(comment
  ;; cd output && jar cvf program.jar * && java -cp "program.jar" program && cd ..
  )