aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux24
1 files changed, 12 insertions, 12 deletions
diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux
index d06f428a6..977ba36ee 100644
--- a/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux
+++ b/stdlib/source/library/lux/tool/compiler/language/lux/phase/extension/generation/python/common.lux
@@ -14,7 +14,7 @@
["%" format {"+" [format]}]]
[collection
["[0]" dictionary]
- ["[0]" list ("[1]\[0]" functor mix)]]]
+ ["[0]" list ("[1]#[0]" functor mix)]]]
[math
[number
["f" frac]]]
@@ -41,7 +41,7 @@
["[0]" synthesis {"+" [%synthesis]}]
["[0]" generation]
[///
- ["[1]" phase ("[1]\[0]" monad)]]]]])
+ ["[1]" phase ("[1]#[0]" monad)]]]]])
(def: .public (statement expression archive synthesis)
Phase!
@@ -54,7 +54,7 @@
(^template [<tag>]
[(^ (<tag> value))
- (/////\each _.return (expression archive synthesis))])
+ (/////#each _.return (expression archive synthesis))])
([synthesis.bit]
[synthesis.i64]
[synthesis.f64]
@@ -66,7 +66,7 @@
(^template [<tag>]
[(^ {<tag> value})
- (/////\each _.return (expression archive synthesis))])
+ (/////#each _.return (expression archive synthesis))])
([synthesis.#Reference]
[synthesis.#Extension])
@@ -82,7 +82,7 @@
[synthesis.loop/recur //loop.recur!])
(^ (synthesis.function/abstraction abstraction))
- (/////\each _.return (//function.function statement expression archive abstraction))
+ (/////#each _.return (//function.function statement expression archive abstraction))
))
(def: .public (custom [parser handler])
@@ -110,33 +110,33 @@
(do [! /////.monad]
[inputG (phase archive input)
else! (..statement phase archive else)
- @input (\ ! each _.var (generation.identifier "input"))
+ @input (# ! each _.var (generation.identifier "input"))
conditionals! (: (Operation (List [(Expression Any)
(Statement Any)]))
(monad.each ! (function (_ [chars branch])
(do !
[branch! (..statement phase archive branch)]
(in [(|> chars
- (list\each (|>> .int _.int (_.= @input)))
- (list\mix (function (_ clause total)
+ (list#each (|>> .int _.int (_.= @input)))
+ (list#mix (function (_ clause total)
(if (same? _.none total)
clause
(_.or clause total)))
_.none))
branch!])))
conditionals))
- ... .let [dependencies (//case.dependencies (list\mix (function (_ right left)
+ ... .let [dependencies (//case.dependencies (list#mix (function (_ right left)
... (synthesis.path/seq left right))
... (synthesis.path/then input)
... {.#Item (synthesis.path/then else)
- ... (list\each (|>> product.right
+ ... (list#each (|>> product.right
... synthesis.path/then)
... conditionals)}))
... @closure (_.var (reference.artifact artifact_id))
... closure (_.def @closure dependencies
... ($_ _.then
... (_.set (list @input) inputG)
- ... (list\mix (function (_ [test then!] else!)
+ ... (list#mix (function (_ [test then!] else!)
... (_.if test then! else!))
... else!
... conditionals!)))]
@@ -148,7 +148,7 @@
(: (Statement Any))
($_ _.then
(_.set (list @input) inputG)
- (list\mix (function (_ [test then!] else!)
+ (list#mix (function (_ [test then!] else!)
(_.if test then! else!))
else!
conditionals!))))))]))