aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/program.lux
diff options
context:
space:
mode:
authorEduardo Julian2017-04-14 20:33:36 -0400
committerEduardo Julian2017-04-14 20:33:36 -0400
commit8aefdf11b42ebde7dc1877b62b2f067cd52ebb10 (patch)
tree520801c6d58dac78980dc468cf83682d273f40e2 /new-luxc/source/program.lux
parent72482573b97662b6b5910213b5f1bf21c685961c (diff)
- Initial parser implementation (still missing correct cursors and multi-line text).
Diffstat (limited to 'new-luxc/source/program.lux')
-rw-r--r--new-luxc/source/program.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/new-luxc/source/program.lux b/new-luxc/source/program.lux
index dbe875d12..b1619e830 100644
--- a/new-luxc/source/program.lux
+++ b/new-luxc/source/program.lux
@@ -2,7 +2,8 @@
lux
(lux (control monad)
[io #- run]
- [cli #+ program: CLI Monad<CLI>]))
+ [cli #+ program: CLI Monad<CLI>])
+ (luxc ["&;" parser]))
(type: Path Text)
@@ -25,7 +26,7 @@
#sources (List Path)})
(def: (marker tokens)
- (-> Text (CLI Unit))
+ (-> (List Text) (CLI Unit))
(cli;after (cli;option tokens)
(:: Monad<CLI> wrap [])))