diff options
Diffstat (limited to 'new-luxc/source/program.lux')
-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 [])))) |