diff options
author | Eduardo Julian | 2021-09-07 22:50:21 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-09-07 22:50:21 -0400 |
commit | 35c0807799717cd720ab28b35851c1a01a67445d (patch) | |
tree | c6237b79fb262d24c8a46ee3ecb714df3e9874d8 /lux-js/source | |
parent | b55cefcb258f11eeee32c1478faefd1bd09ec871 (diff) |
De-taggification | part 4
Diffstat (limited to 'lux-js/source')
-rw-r--r-- | lux-js/source/program.lux | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux index 897eb6900..b0de7dee3 100644 --- a/lux-js/source/program.lux +++ b/lux-js/source/program.lux @@ -2,41 +2,41 @@ [library [lux "*" [program {"+" [program:]}] - ["." ffi {"+" [import:]}] - ["." debug] + ["[0]" ffi {"+" [import:]}] + ["[0]" debug] [abstract [monad {"+" [do]}]] [control - ["." 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 - ["." product] + ["[0]" product] [text ["%" format {"+" [format]}] [encoding - ["." utf8]]] + ["[0]" utf8]]] [collection - ["." array {"+" [Array]}]]] + ["[0]" array {"+" [Array]}]]] [macro - ["." template]] + ["[0]" template]] [math [number ["n" nat] ["i" int] - ["." i64]]] - ["." world "_" - ["." file] - ["#/." program]] + ["[0]" i64]]] + ["[0]" world "_" + ["[0]" file] + ["[1]/[0]" program]] ["@" target ["_" js]] [tool [compiler - ["." phase {"+" [Operation Phase]}] + ["[0]" phase {"+" [Operation Phase]}] [reference [variable {"+" [Register]}]] [language @@ -46,26 +46,26 @@ [analysis [macro {"+" [Expander]}]] [phase - ["." extension {"+" [Extender Handler]} - ["#/." bundle] - ["." analysis "_" - ["#" js]] - ["." generation "_" - ["#" js]]] + ["[0]" extension {"+" [Extender Handler]} + ["[1]/[0]" bundle] + ["[0]" analysis "_" + ["[1]" js]] + ["[0]" generation "_" + ["[1]" js]]] [generation - ["." reference] - ["." js - ["." runtime]]]]]] + ["[0]" reference] + ["[0]" js + ["[0]" runtime]]]]]] [default - ["." platform {"+" [Platform]}]] + ["[0]" platform {"+" [Platform]}]] [meta [archive {"+" [Archive]}] - ["." packager "_" - ["#" script]]]]]]] + ["[0]" packager "_" + ["[1]" script]]]]]]] [program ["/" compositor - ["#." cli] - ["#." static]]]) + ["[1][0]" cli] + ["[1][0]" static]]]) (exception: (null_has_no_lux_representation {code (Maybe _.Expression)}) (case code @@ -81,42 +81,42 @@ (import: (java/lang/Class a)) (import: java/lang/Object - ["#::." + ["[1]::[0]" (toString [] java/lang/String) (getClass [] (java/lang/Class java/lang/Object))]) (import: java/lang/Long - ["#::." + ["[1]::[0]" (intValue [] java/lang/Integer)]) (import: java/lang/Integer - ["#::." + ["[1]::[0]" (longValue [] long)]) (import: java/lang/Number - ["#::." + ["[1]::[0]" (intValue [] java/lang/Integer) (longValue [] long) (doubleValue [] double)]) (import: java/util/Arrays - ["#::." + ["[1]::[0]" ("static" [t] copyOfRange [[t] int int] [t])]) (import: javax/script/ScriptEngine - ["#::." + ["[1]::[0]" (eval [java/lang/String] "try" "?" java/lang/Object)]) (import: javax/script/ScriptEngineFactory - ["#::." + ["[1]::[0]" (getScriptEngine [] javax/script/ScriptEngine)]) (import: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory - ["#::." + ["[1]::[0]" (new [])]) (import: org/openjdk/nashorn/api/scripting/JSObject - ["#::." + ["[1]::[0]" (isArray [] boolean) (isFunction [] boolean) (getSlot [int] "?" java/lang/Object) @@ -127,7 +127,7 @@ (import: org/openjdk/nashorn/api/scripting/AbstractJSObject) (import: org/openjdk/nashorn/api/scripting/ScriptObjectMirror - ["#::." + ["[1]::[0]" (size [] int) (toString [] java/lang/String) (getOwnKeys [boolean] [java/lang/String])]) @@ -139,7 +139,7 @@ (getValue [] java/lang/Object)) (`` (import: (~~ (template.identifier ["program/" <name>])) - ["#::." + ["[1]::[0]" (getValue [] java/lang/Object)]))] [IntValue] |