aboutsummaryrefslogtreecommitdiff
path: root/lux-lua
diff options
context:
space:
mode:
authorEduardo Julian2021-08-23 02:30:53 -0400
committerEduardo Julian2021-08-23 02:30:53 -0400
commitec1f31b5a1492d5e0ab260397291d4449483bbd9 (patch)
treec730b4ca89af366779b0ad0f46fae705b5c2bcbc /lux-lua
parent1ea83ecadccc5adee1bdb35bd11527c3982c015e (diff)
The Python compiler can now be compiled by the new JVM compiler.
Diffstat (limited to 'lux-lua')
-rw-r--r--lux-lua/source/program.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux
index 41df182c0..4667088cb 100644
--- a/lux-lua/source/program.lux
+++ b/lux-lua/source/program.lux
@@ -572,7 +572,7 @@
(wrap [global value definition]))))
(def: (ingest context content)
- (|> content (\ utf8.codec decode) try.trusted (:as _.Statement)))
+ (|> content (\ utf8.codec decoded) try.trusted (:as _.Statement)))
(def: (re_learn context custom content)
(run! content))
@@ -610,7 +610,7 @@
(wrap [global value definition]))))
(def: (ingest context content)
- (|> content (\ utf8.codec decode) try.trusted (:as _.Statement)))
+ (|> content (\ utf8.codec decoded) try.trusted (:as _.Statement)))
(def: (re_learn context custom content)
(run! content))
@@ -777,7 +777,7 @@
#platform.phase lua.generate
#platform.runtime runtime.generate
#platform.phase_wrapper ..phase_wrapper
- #platform.write (|>> _.code (\ utf8.codec encode))}])))
+ #platform.write (|>> _.code (\ utf8.codec encoded))}])))
@.lua (def: platform
(IO (Platform [Register _.Label] _.Expression _.Statement))
(do io.monad
@@ -787,7 +787,7 @@
#platform.phase lua.generate
#platform.runtime runtime.generate
#platform.phase_wrapper ..phase_wrapper
- #platform.write (|>> _.code (\ utf8.codec encode))})))})
+ #platform.write (|>> _.code (\ utf8.codec encoded))})))})
(def: (program context program)
(Program _.Expression _.Statement)