aboutsummaryrefslogtreecommitdiff
path: root/lux-lua
diff options
context:
space:
mode:
Diffstat (limited to 'lux-lua')
-rw-r--r--lux-lua/source/program.lux94
1 files changed, 47 insertions, 47 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux
index 5ec2a3b8e..cc422bb5a 100644
--- a/lux-lua/source/program.lux
+++ b/lux-lua/source/program.lux
@@ -2,39 +2,39 @@
[library
[lux "*"
[program {"+" [program:]}]
- ["." ffi]
+ ["[0]" ffi]
[abstract
- ["." monad {"+" [do]}]]
+ ["[0]" 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
- ["." 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 {"+" [hex]}
["n" nat]
- ["." i64]]]
- ["." world "_"
- ["." file]
- ["#/." program]]
+ ["[0]" i64]]]
+ ["[0]" world "_"
+ ["[0]" file]
+ ["[1]/[0]" program]]
["@" target
["_" lua]]
[tool
[compiler
- ["." phase {"+" [Operation Phase]}]
+ ["[0]" phase {"+" [Operation Phase]}]
[reference
[variable {"+" [Register]}]]
[language
@@ -44,60 +44,60 @@
[analysis
[macro {"+" [Expander]}]]
[phase
- ["." extension {"+" [Extender Handler]}
- ["#/." bundle]
- ["." analysis "_"
- ["#" lua]]
- ["." generation "_"
- ["#" lua]]]
+ ["[0]" extension {"+" [Extender Handler]}
+ ["[1]/[0]" bundle]
+ ["[0]" analysis "_"
+ ["[1]" lua]]
+ ["[0]" generation "_"
+ ["[1]" lua]]]
[generation
- ["." reference]
- ["." lua
- ["." runtime]]]]]]
+ ["[0]" reference]
+ ["[0]" lua
+ ["[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]]])
(with_expansions [<jvm> (as_is (ffi.import: java/lang/String)
(ffi.import: (java/lang/Class a))
(ffi.import: java/lang/Object
- ["#::."
+ ["[1]::[0]"
(toString [] java/lang/String)
(getClass [] (java/lang/Class java/lang/Object))])
(ffi.import: java/lang/Long
- ["#::."
+ ["[1]::[0]"
(intValue [] java/lang/Integer)])
(ffi.import: net/sandius/rembulan/StateContext)
(ffi.import: net/sandius/rembulan/impl/StateContexts
- ["#::."
+ ["[1]::[0]"
("static" newDefaultInstance [] net/sandius/rembulan/StateContext)])
(ffi.import: net/sandius/rembulan/env/RuntimeEnvironment)
(ffi.import: net/sandius/rembulan/env/RuntimeEnvironments
- ["#::."
+ ["[1]::[0]"
("static" system [] net/sandius/rembulan/env/RuntimeEnvironment)])
(ffi.import: net/sandius/rembulan/Table
- ["#::."
+ ["[1]::[0]"
(rawget "as" get_idx [long] "?" java/lang/Object)
(rawget "as" get_key [java/lang/Object] "?" java/lang/Object)
(rawlen [] long)])
(ffi.import: net/sandius/rembulan/ByteString
- ["#::."
+ ["[1]::[0]"
(decode [] java/lang/String)])
(ffi.import: net/sandius/rembulan/impl/DefaultTable)
@@ -105,38 +105,38 @@
(ffi.import: net/sandius/rembulan/impl/ImmutableTable)
(ffi.import: net/sandius/rembulan/impl/ImmutableTable$Builder
- ["#::."
+ ["[1]::[0]"
(new [])
(build [] net/sandius/rembulan/impl/ImmutableTable)])
(ffi.import: net/sandius/rembulan/lib/StandardLibrary
- ["#::."
+ ["[1]::[0]"
("static" in [net/sandius/rembulan/env/RuntimeEnvironment] net/sandius/rembulan/lib/StandardLibrary)
(installInto [net/sandius/rembulan/StateContext] net/sandius/rembulan/Table)])
(ffi.import: net/sandius/rembulan/Variable
- ["#::."
+ ["[1]::[0]"
(new [java/lang/Object])])
(ffi.import: net/sandius/rembulan/runtime/ReturnBuffer
- ["#::."
+ ["[1]::[0]"
(setTo [java/lang/Object] void)])
(ffi.import: net/sandius/rembulan/runtime/ExecutionContext
- ["#::."
+ ["[1]::[0]"
(getReturnBuffer [] net/sandius/rembulan/runtime/ReturnBuffer)])
(ffi.import: net/sandius/rembulan/runtime/LuaFunction)
(ffi.import: net/sandius/rembulan/load/ChunkLoader
- ["#::."
+ ["[1]::[0]"
(loadTextChunk [net/sandius/rembulan/Variable
java/lang/String
java/lang/String]
"try" net/sandius/rembulan/runtime/LuaFunction)])
(ffi.import: net/sandius/rembulan/compiler/CompilerChunkLoader
- ["#::."
+ ["[1]::[0]"
("static" of [java/lang/String] net/sandius/rembulan/compiler/CompilerChunkLoader)])
(ffi.import: net/sandius/rembulan/runtime/SchedulingContext)
@@ -144,7 +144,7 @@
(ffi.import: net/sandius/rembulan/runtime/SchedulingContextFactory)
(ffi.import: net/sandius/rembulan/exec/DirectCallExecutor
- ["#::."
+ ["[1]::[0]"
("static" newExecutor [] net/sandius/rembulan/exec/DirectCallExecutor)
(schedulingContextFactory [] net/sandius/rembulan/runtime/SchedulingContextFactory)
(call [net/sandius/rembulan/StateContext java/lang/Object [java/lang/Object]] "try" [java/lang/Object])])
@@ -159,7 +159,7 @@
(getValue [] java/lang/Object))
(`` (ffi.import: (~~ (template.identifier ["program/" <name>]))
- ["#::."
+ ["[1]::[0]"
(getValue [] java/lang/Object)]))]
[StructureValue]