From 35c0807799717cd720ab28b35851c1a01a67445d Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 7 Sep 2021 22:50:21 -0400 Subject: De-taggification | part 4 --- lux-python/source/program.lux | 76 +++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'lux-python') 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 [ (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)]) -- cgit v1.2.3