aboutsummaryrefslogtreecommitdiff
path: root/lux-jvm/source
diff options
context:
space:
mode:
authorEduardo Julian2020-12-11 22:40:31 -0400
committerEduardo Julian2020-12-11 22:40:31 -0400
commitdff517cbdb9a1c80028782c62ad91c71ddb34909 (patch)
treef69b4005e8b6dc9699a410554ce4571f60d9e0ee /lux-jvm/source
parent9af671a34728b35c48bff2ba163c371dc5084946 (diff)
Improved parsing speed for Lux code.
Diffstat (limited to '')
-rw-r--r--lux-jvm/source/program.lux7
1 files changed, 4 insertions, 3 deletions
diff --git a/lux-jvm/source/program.lux b/lux-jvm/source/program.lux
index 8a6729e1d..c07ecd3e3 100644
--- a/lux-jvm/source/program.lux
+++ b/lux-jvm/source/program.lux
@@ -18,8 +18,9 @@
[collection
[array (#+ Array)]
["." dictionary]]]
- [world
- ["." file]]
+ ["." world #_
+ ["." file]
+ ["#/." program]]
[target
[jvm
[bytecode (#+ Bytecode)]]]
@@ -156,7 +157,7 @@
(def: (declare-success! _)
(-> Any (Promise Any))
- (promise.future (io.exit +0)))
+ (promise.future (\ world/program.default exit +0)))
(program: [{service /cli.service}]
(exec (do promise.monad