diff options
author | Eduardo Julian | 2018-07-03 20:35:42 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-03 20:35:42 -0400 |
commit | 371a407a49ddf0f2fe1d977018fcd0a009c86043 (patch) | |
tree | 322daf75a391bfc49026867250e10c424c4ec978 /new-luxc/source/luxc/lang/translation/lua | |
parent | c75e8aa8bc84af3b598292f3261354384b3cc80f (diff) |
- Re-named "import" to "import:".
Diffstat (limited to '')
3 files changed, 22 insertions, 22 deletions
diff --git a/new-luxc/source/luxc/lang/translation/lua.lux b/new-luxc/source/luxc/lang/translation/lua.lux index 307b6a181..e1cb1a2ac 100644 --- a/new-luxc/source/luxc/lang/translation/lua.lux +++ b/new-luxc/source/luxc/lang/translation/lua.lux @@ -28,48 +28,48 @@ [No-Anchor] ) -(host.import java/lang/Object) +(host.import: java/lang/Object) -(host.import java/lang/String +(host.import: java/lang/String (getBytes [String] #try (Array byte))) -(host.import java/lang/CharSequence) +(host.import: java/lang/CharSequence) -(host.import java/lang/Appendable +(host.import: java/lang/Appendable (append [CharSequence] Appendable)) -(host.import java/lang/StringBuilder +(host.import: java/lang/StringBuilder (new []) (toString [] String)) -(host.import net/sandius/rembulan/StateContext) +(host.import: net/sandius/rembulan/StateContext) -(host.import net/sandius/rembulan/impl/StateContexts +(host.import: net/sandius/rembulan/impl/StateContexts (#static newDefaultInstance [] StateContext)) -(host.import net/sandius/rembulan/env/RuntimeEnvironment) +(host.import: net/sandius/rembulan/env/RuntimeEnvironment) -(host.import net/sandius/rembulan/env/RuntimeEnvironments +(host.import: net/sandius/rembulan/env/RuntimeEnvironments (#static system [] RuntimeEnvironment)) -(host.import net/sandius/rembulan/Table) +(host.import: net/sandius/rembulan/Table) -(host.import net/sandius/rembulan/lib/StandardLibrary +(host.import: net/sandius/rembulan/lib/StandardLibrary (#static in [RuntimeEnvironment] StandardLibrary) (installInto [StateContext] Table)) -(host.import net/sandius/rembulan/Variable +(host.import: net/sandius/rembulan/Variable (new [Object])) -(host.import net/sandius/rembulan/runtime/LuaFunction) +(host.import: net/sandius/rembulan/runtime/LuaFunction) -(host.import net/sandius/rembulan/load/ChunkLoader +(host.import: net/sandius/rembulan/load/ChunkLoader (loadTextChunk [Variable String String] LuaFunction)) -(host.import net/sandius/rembulan/compiler/CompilerChunkLoader +(host.import: net/sandius/rembulan/compiler/CompilerChunkLoader (#static of [String] CompilerChunkLoader)) -(host.import net/sandius/rembulan/exec/DirectCallExecutor +(host.import: net/sandius/rembulan/exec/DirectCallExecutor (#static newExecutor [] DirectCallExecutor) (call [StateContext Object (Array Object)] (Array Object))) diff --git a/new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux index 0330f79c2..18ae10e0a 100644 --- a/new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux @@ -20,22 +20,22 @@ [Cannot-Evaluate] ) -(host.import java/lang/Object +(host.import: java/lang/Object (toString [] String) (getClass [] (Class Object))) -(host.import java/lang/Long +(host.import: java/lang/Long (intValue [] Integer)) -(host.import net/sandius/rembulan/ByteString +(host.import: net/sandius/rembulan/ByteString (decode [] String)) -(host.import net/sandius/rembulan/Table +(host.import: net/sandius/rembulan/Table (rawget #as get-idx [long] #? Object) (rawget #as get-key [Object] #? Object) (rawlen [] long)) -(host.import net/sandius/rembulan/impl/DefaultTable) +(host.import: net/sandius/rembulan/impl/DefaultTable) (def: (variant lux-object host-object) (-> (-> Object (Error Any)) DefaultTable (Maybe Any)) diff --git a/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux index 50fe74f58..b49d4951c 100644 --- a/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux @@ -181,7 +181,7 @@ lua.length) ## [[Numbers]] -(host.import java/lang/Double +(host.import: java/lang/Double (#static MIN_VALUE Double) (#static MAX_VALUE Double) (#static NaN Double) |