aboutsummaryrefslogtreecommitdiff
path: root/lux-php/source
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-php/source
parent1ea83ecadccc5adee1bdb35bd11527c3982c015e (diff)
The Python compiler can now be compiled by the new JVM compiler.
Diffstat (limited to 'lux-php/source')
-rw-r--r--lux-php/source/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux
index 214960667..2b7ba15de 100644
--- a/lux-php/source/program.lux
+++ b/lux-php/source/program.lux
@@ -490,7 +490,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 content)
(run! content))
@@ -508,7 +508,7 @@
#platform.host host
#platform.phase php.generate
#platform.runtime runtime.generate
- #platform.write (|>> _.code (\ utf8.codec encode))})))
+ #platform.write (|>> _.code (\ utf8.codec encoded))})))
(def: (program context program)
(Program _.Expression _.Statement)