aboutsummaryrefslogtreecommitdiff
path: root/lux-php
diff options
context:
space:
mode:
authorEduardo Julian2021-09-12 15:39:55 -0400
committerEduardo Julian2021-09-12 15:39:55 -0400
commit2dbbaaec93a53f8dd0b96a0028b9cf125c9066cd (patch)
tree14bc8b5abe09b46ef005c3ff7cf132f1d98ddf0d /lux-php
parentdda05bca0956af5e5b3875c4cc36e61aa04772e4 (diff)
Re-named \ => # && \\ => ##
Diffstat (limited to 'lux-php')
-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! []))