diff options
author | Eduardo Julian | 2017-05-04 20:50:50 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-05-04 20:50:50 -0400 |
commit | 5d401a09eeded0f3ecd9fb1ed3acdee30f99e197 (patch) | |
tree | 871f647d5319539d13573d47eedb099a7c5c631c /new-luxc/source/program.lux | |
parent | 63143bdb893f1465fe980f262782fbd5ad16b60a (diff) |
- Removed the "Debug" compiler mode.
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/program.lux | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/new-luxc/source/program.lux b/new-luxc/source/program.lux index e7fa95c2d..ecf5cdd6f 100644 --- a/new-luxc/source/program.lux +++ b/new-luxc/source/program.lux @@ -10,8 +10,7 @@ )) (type: Compilation - {#mode &;Mode - #program &;Path + {#program &;Path #target &;Path}) (def: (marker tokens) @@ -24,16 +23,9 @@ (cli;after (cli;option tags) cli;any)) -(def: mode^ - (CLI &;Mode) - ($_ cli;alt - (marker (list "release")) - (marker (list "debug")))) - (def: compilation^ (CLI Compilation) ($_ cli;seq - mode^ (tagged (list "-p" "--program")) (tagged (list "-t" "--target")))) @@ -43,6 +35,6 @@ #;None (io (log! "No REPL for you!")) - (#;Some [mode program target]) - (exec (&compiler;compile-program mode program target sources) + (#;Some [program target]) + (exec (&compiler;compile-program program target sources) (io [])))) |