aboutsummaryrefslogtreecommitdiff
path: root/lux-python
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-python
parentdda05bca0956af5e5b3875c4cc36e61aa04772e4 (diff)
Re-named \ => # && \\ => ##
Diffstat (limited to 'lux-python')
-rw-r--r--lux-python/source/program.lux14
1 files changed, 7 insertions, 7 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux
index 3f720cdf5..f6118ee38 100644
--- a/lux-python/source/program.lux
+++ b/lux-python/source/program.lux
@@ -15,7 +15,7 @@
[concurrency
["[0]" async {"+" [Async]}]]]
[data
- ["[0]" text ("[1]\[0]" hash)
+ ["[0]" text ("[1]#[0]" hash)
["%" format {"+" [format]}]
[encoding
["[0]" utf8]]]
@@ -304,7 +304,7 @@
(def: (ingest context content)
(|> content
- (\ utf8.codec decoded)
+ (# utf8.codec decoded)
try.trusted
(:as (_.Statement Any))))
@@ -347,7 +347,7 @@
(def: define! define!)
(def: (ingest context content)
- (|> content (\ utf8.codec decoded) try.trusted (:as (_.Statement Any))))
+ (|> content (# utf8.codec decoded) try.trusted (:as (_.Statement Any))))
(def: (re_learn context content)
(execute! content))
@@ -378,7 +378,7 @@
(try.trusted
(case (array.list {.#None} inputs)
(^ (list))
- (\ try.monad in (host_phase (list) phase))
+ (# try.monad in (host_phase (list) phase))
(^ (list input/0))
(do try.monad
@@ -482,7 +482,7 @@
platform.#phase python.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 Any) (_.Statement Any))
@@ -499,7 +499,7 @@
(def: (declare_success! _)
(-> Any (Async Any))
- (async.future (\ world/program.default exit +0)))
+ (async.future (# world/program.default exit +0)))
(def: (scope body)
(-> (_.Statement Any) (_.Statement Any))
@@ -538,7 +538,7 @@
_.then
..scope)
(format (/cli.target service)
- (\ file.default separator)
+ (# file.default separator)
"program"
extension)])]
(..declare_success! []))