aboutsummaryrefslogtreecommitdiff
path: root/lux-php/source
diff options
context:
space:
mode:
Diffstat (limited to 'lux-php/source')
-rw-r--r--lux-php/source/program.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux
index 5fdcc3600..456a6df4a 100644
--- a/lux-php/source/program.lux
+++ b/lux-php/source/program.lux
@@ -14,7 +14,7 @@
[concurrency
["[0]" promise {"+" [Promise]}]]]
[data
- ["[0]" text ("[1]\[0]" hash)
+ ["[0]" text ("[1]#[0]" hash)
["%" format {"+" [format]}]
[encoding
["[0]" utf8]]]
@@ -487,7 +487,7 @@
(wrap [global value definition]))))
(def: (ingest context content)
- (|> content (\ utf8.codec decoded) try.trusted (:as _.Statement)))
+ (|> content (# utf8.codec decoded) try.trusted (:as _.Statement)))
(def: (re_learn context content)
(run! content))
@@ -505,7 +505,7 @@
platform.#host host
platform.#phase php.generate
platform.#runtime runtime.generate
- platform.#write (|>> _.code (\ utf8.codec encoded))])))
+ platform.#write (|>> _.code (# utf8.codec encoded))])))
(def: (program context program)
(Program _.Expression _.Statement)
@@ -551,7 +551,7 @@
(def: (declare_success! _)
(-> Any (Promise Any))
- (promise.future (\ world/program.default exit +0)))
+ (promise.future (# world/program.default exit +0)))
(`` (program: [service /cli.service]
(let [extension ".php"]
@@ -576,7 +576,7 @@
_.then
(|>>))
(format (/cli.target service)
- (\ file.default separator)
+ (# file.default separator)
"program"
extension)])]
(..declare_success! []))