aboutsummaryrefslogtreecommitdiff
path: root/lux-lua/source
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-lua/source
parentdda05bca0956af5e5b3875c4cc36e61aa04772e4 (diff)
Re-named \ => # && \\ => ##
Diffstat (limited to 'lux-lua/source')
-rw-r--r--lux-lua/source/program.lux14
1 files changed, 7 insertions, 7 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux
index f179bcb43..b5c6a3ba5 100644
--- a/lux-lua/source/program.lux
+++ b/lux-lua/source/program.lux
@@ -14,7 +14,7 @@
[concurrency
["[0]" async {"+" [Async]}]]]
[data
- ["[0]" text ("[1]\[0]" hash)
+ ["[0]" text ("[1]#[0]" hash)
["%" format {"+" [format]}]
[encoding
["[0]" utf8]]]
@@ -577,7 +577,7 @@
(in [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 custom content)
(run! content))
@@ -617,7 +617,7 @@
(in [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 custom content)
(run! content))
@@ -782,7 +782,7 @@
platform.#phase lua.generate
platform.#runtime runtime.generate
platform.#phase_wrapper ..phase_wrapper
- platform.#write (|>> _.code (\ utf8.codec encoded))]])))]
+ platform.#write (|>> _.code (# utf8.codec encoded))]])))]
(for [@.old <jvm>
@.jvm <jvm>
@.lua (def: platform
@@ -794,7 +794,7 @@
platform.#phase lua.generate
platform.#runtime runtime.generate
platform.#phase_wrapper ..phase_wrapper
- platform.#write (|>> _.code (\ utf8.codec encoded))])))]))
+ platform.#write (|>> _.code (# utf8.codec encoded))])))]))
(def: (program context program)
(Program _.Expression _.Statement)
@@ -805,7 +805,7 @@
(def: (declare_success! _)
(-> Any (Async Any))
- (async.future (\ world/program.default exit +0)))
+ (async.future (# world/program.default exit +0)))
(`` (program: [service /cli.service]
(let [extension ".lua"]
@@ -839,7 +839,7 @@
_.then
(|>>))
(format (/cli.target service)
- (\ file.default separator)
+ (# file.default separator)
"program"
extension)])]
(..declare_success! []))