aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/jvm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm/common.jvm.lux12
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm/eval.jvm.lux4
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm/imports.jvm.lux4
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm/procedure/common.jvm.lux4
-rw-r--r--new-luxc/source/luxc/lang/translation/jvm/statement.jvm.lux4
5 files changed, 14 insertions, 14 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm/common.jvm.lux b/new-luxc/source/luxc/lang/translation/jvm/common.jvm.lux
index 2f35bad7c..2dab7b6ac 100644
--- a/new-luxc/source/luxc/lang/translation/jvm/common.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm/common.jvm.lux
@@ -20,20 +20,20 @@
["$d" def]
["$i" inst])))))
-(host.import org/objectweb/asm/Opcodes
+(host.import: org/objectweb/asm/Opcodes
(#static V1_6 int))
-(host.import org/objectweb/asm/Label)
+(host.import: org/objectweb/asm/Label)
-(host.import java/lang/Object)
+(host.import: java/lang/Object)
-(host.import java/lang/reflect/Field
+(host.import: java/lang/reflect/Field
(get [#? Object] #try #? Object))
-(host.import (java/lang/Class c)
+(host.import: (java/lang/Class c)
(getField [String] #try Field))
-(host.import java/lang/ClassLoader
+(host.import: java/lang/ClassLoader
(loadClass [String] (Class Object)))
(type: #export Bytecode Blob)
diff --git a/new-luxc/source/luxc/lang/translation/jvm/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/jvm/eval.jvm.lux
index d8e8ffd5e..aed1abca3 100644
--- a/new-luxc/source/luxc/lang/translation/jvm/eval.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm/eval.jvm.lux
@@ -14,10 +14,10 @@
["ls" synthesis]))
(// [".T" common]))
-(host.import java/lang/reflect/Field
+(host.import: java/lang/reflect/Field
(get [Object] Object))
-(host.import (java/lang/Class a)
+(host.import: (java/lang/Class a)
(getField [String] Field))
(def: #export (eval valueI)
diff --git a/new-luxc/source/luxc/lang/translation/jvm/imports.jvm.lux b/new-luxc/source/luxc/lang/translation/jvm/imports.jvm.lux
index 61061c3af..22fdfbece 100644
--- a/new-luxc/source/luxc/lang/translation/jvm/imports.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm/imports.jvm.lux
@@ -30,10 +30,10 @@
[Circular-Dependency]
)
-(host.import (java/util/concurrent/Future a)
+(host.import: (java/util/concurrent/Future a)
(get [] #io a))
-(host.import (java/util/concurrent/CompletableFuture a)
+(host.import: (java/util/concurrent/CompletableFuture a)
(new [])
(complete [a] boolean)
(#static [a] completedFuture [a] (CompletableFuture a)))
diff --git a/new-luxc/source/luxc/lang/translation/jvm/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/jvm/procedure/common.jvm.lux
index 689724bae..7daf35fb5 100644
--- a/new-luxc/source/luxc/lang/translation/jvm/procedure/common.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm/procedure/common.jvm.lux
@@ -26,11 +26,11 @@
[".T" function]
[".T" loop]))
-(host.import java/lang/Long
+(host.import: java/lang/Long
(#static MIN_VALUE Long)
(#static MAX_VALUE Long))
-(host.import java/lang/Double
+(host.import: java/lang/Double
(#static MIN_VALUE Double)
(#static MAX_VALUE Double)
(#static NaN Double)
diff --git a/new-luxc/source/luxc/lang/translation/jvm/statement.jvm.lux b/new-luxc/source/luxc/lang/translation/jvm/statement.jvm.lux
index 07c85e58c..df9cd6be2 100644
--- a/new-luxc/source/luxc/lang/translation/jvm/statement.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/jvm/statement.jvm.lux
@@ -30,10 +30,10 @@
[Cannot-Evaluate-Definition]
)
-(host.import java/lang/reflect/Field
+(host.import: java/lang/reflect/Field
(get [#? Object] #try #? Object))
-(host.import (java/lang/Class c)
+(host.import: (java/lang/Class c)
(getField [String] #try Field))
(def: #export (translate-def def-name valueT valueI metaV)