aboutsummaryrefslogtreecommitdiff
path: root/lux-js/source
diff options
context:
space:
mode:
authorEduardo Julian2021-02-04 01:30:34 -0400
committerEduardo Julian2021-02-04 01:30:34 -0400
commit571d816dfd0b056a1649f5057867abbfa4421f5d (patch)
treecccd86f9285bf4956d6b50aea669ad4e9e15ee13 /lux-js/source
parent3d457763e34d4dd1992427b3918b351ac684adb7 (diff)
Updates for Lua compiler.
Diffstat (limited to 'lux-js/source')
-rw-r--r--lux-js/source/program.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index aacbcdb54..6f9e44497 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -61,8 +61,8 @@
["#" script]]]]]]
[program
["/" compositor
- ["/." cli]
- ["/." static]]])
+ ["#." cli]
+ ["#." static]]])
(exception: (null_has_no_lux_representation {code (Maybe _.Expression)})
(case code
@@ -563,7 +563,7 @@
#platform.write (|>> _.code (\ encoding.utf8 encode))})))
(def: (program context program)
- (-> (Program _.Expression _.Statement))
+ (Program _.Expression _.Statement)
(let [@process (_.var "process")
on_node_js? (|> (|> @process _.type_of (_.= (_.string "undefined")) _.not)
(_.and (|> @process (_.the "argv"))))