aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
authorEduardo Julian2021-09-07 22:50:21 -0400
committerEduardo Julian2021-09-07 22:50:21 -0400
commit35c0807799717cd720ab28b35851c1a01a67445d (patch)
treec6237b79fb262d24c8a46ee3ecb714df3e9874d8 /lux-python
parentb55cefcb258f11eeee32c1478faefd1bd09ec871 (diff)
De-taggification | part 4
Diffstat (limited to 'lux-python')
-rw-r--r--lux-python/source/program.lux76
1 files changed, 38 insertions, 38 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux
index 34f527aed..8cc2987af 100644
--- a/lux-python/source/program.lux
+++ b/lux-python/source/program.lux
@@ -2,77 +2,77 @@
[library
[lux "*"
[program {"+" [program:]}]
- ["." ffi {"+" [import:]}]
+ ["[0]" ffi {"+" [import:]}]
[abstract
[monad {"+" [do]}]]
[control
[pipe {"+" [new>]}]
- ["." maybe]
- ["." try {"+" [Try]}]
- ["." exception {"+" [exception:]}]
- ["." io {"+" [IO io]}]
- ["." function]
+ ["[0]" maybe]
+ ["[0]" try {"+" [Try]}]
+ ["[0]" exception {"+" [exception:]}]
+ ["[0]" io {"+" [IO io]}]
+ ["[0]" function]
[concurrency
- ["." async {"+" [Async]}]]]
+ ["[0]" async {"+" [Async]}]]]
[data
- ["." text ("#\." hash)
+ ["[0]" text ("[1]\[0]" hash)
["%" format {"+" [format]}]
[encoding
- ["." utf8]]]
+ ["[0]" utf8]]]
[collection
- ["." array {"+" [Array]}]
- ["." list]]]
+ ["[0]" array {"+" [Array]}]
+ ["[0]" list]]]
[macro
- ["." template]]
+ ["[0]" template]]
[math
[number
["n" nat]
- ["." i64]]]
- ["." world "_"
- ["." file]
- ["#/." program]]
+ ["[0]" i64]]]
+ ["[0]" world "_"
+ ["[0]" file]
+ ["[1]/[0]" program]]
["@" target
["_" python]]
[tool
[compiler
- ["." phase {"+" [Operation Phase]}]
+ ["[0]" phase {"+" [Operation Phase]}]
[reference
[variable {"+" [Register]}]]
[language
[lux
[program {"+" [Program]}]
[generation {"+" [Context Host]}]
- ["." synthesis]
+ ["[0]" synthesis]
[analysis
[macro {"+" [Expander]}]]
[phase
- ["." extension {"+" [Extender Handler]}
- ["#/." bundle]
- ["." analysis "_"
- ["#" python]]
- ["." generation "_"
- ["#" python]]]
+ ["[0]" extension {"+" [Extender Handler]}
+ ["[1]/[0]" bundle]
+ ["[0]" analysis "_"
+ ["[1]" python]]
+ ["[0]" generation "_"
+ ["[1]" python]]]
[generation
- ["." reference]
- ["." python
- ["." runtime]]]]]]
+ ["[0]" reference]
+ ["[0]" python
+ ["[0]" runtime]]]]]]
[default
- ["." platform {"+" [Platform]}]]
+ ["[0]" platform {"+" [Platform]}]]
[meta
[archive {"+" [Archive]}]
- ["." packager "_"
- ["#" script]]]]]]]
+ ["[0]" packager "_"
+ ["[1]" script]]]]]]]
[program
["/" compositor
- ["/." cli]
- ["/." static]]])
+ ["/[0]" cli]
+ ["/[0]" static]]])
(with_expansions [<jvm> (as_is (import: java/lang/String)
(import: (java/lang/Class a))
(import: java/lang/Object
- ["#::."
+ ["[1]::[0]"
(new [])
(toString [] java/lang/String)
(getClass [] (java/lang/Class java/lang/Object))])
@@ -86,11 +86,11 @@
(import: org/python/core/PyList)
(import: org/python/core/PyString
- ["#::."
+ ["[1]::[0]"
(new [java/lang/String])])
(import: org/python/core/PyObject
- ["#::."
+ ["[1]::[0]"
... (asInt [] int)
(asLong [] long)
(asDouble [] double)
@@ -101,18 +101,18 @@
(__len__ [] int)])
(import: org/python/core/PyFunction
- ["#::."
+ ["[1]::[0]"
(__call__ [[org/python/core/PyObject]] "try" org/python/core/PyObject)])
(import: org/python/core/ThreadState)
(import: org/python/core/PyArray
- ["#::."
+ ["[1]::[0]"
(new [(java/lang/Class [? < java/lang/Object]) java/lang/Object])
(getArray [] java/lang/Object)])
(import: org/python/util/PythonInterpreter
- ["#::."
+ ["[1]::[0]"
(new [])
(exec [java/lang/String] "try" void)
(eval [java/lang/String] "try" PyObject)])