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

(defn -main [& _]
  (time (&compiler/compile-all (&/|list "program")))
  (System/exit 0))

(comment
  ;; TODO: Finish total-locals

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