aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/host
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/host')
-rw-r--r--new-luxc/source/luxc/lang/host/jvm.lux6
-rw-r--r--new-luxc/source/luxc/lang/host/jvm/def.lux12
-rw-r--r--new-luxc/source/luxc/lang/host/jvm/inst.lux10
3 files changed, 14 insertions, 14 deletions
diff --git a/new-luxc/source/luxc/lang/host/jvm.lux b/new-luxc/source/luxc/lang/host/jvm.lux
index 20dd4c37b..d30df3fd3 100644
--- a/new-luxc/source/luxc/lang/host/jvm.lux
+++ b/new-luxc/source/luxc/lang/host/jvm.lux
@@ -9,11 +9,11 @@
[host]))
## [Host]
-(host.import org/objectweb/asm/MethodVisitor)
+(host.import: org/objectweb/asm/MethodVisitor)
-(host.import org/objectweb/asm/ClassWriter)
+(host.import: org/objectweb/asm/ClassWriter)
-(host.import #long org/objectweb/asm/Label
+(host.import: #long org/objectweb/asm/Label
(new []))
## [Type]
diff --git a/new-luxc/source/luxc/lang/host/jvm/def.lux b/new-luxc/source/luxc/lang/host/jvm/def.lux
index 86f7999ba..c973f79c3 100644
--- a/new-luxc/source/luxc/lang/host/jvm/def.lux
+++ b/new-luxc/source/luxc/lang/host/jvm/def.lux
@@ -11,10 +11,10 @@
(// ["$t" type]))
## [Host]
-(host.import #long java/lang/Object)
-(host.import #long java/lang/String)
+(host.import: #long java/lang/Object)
+(host.import: #long java/lang/String)
-(host.import org/objectweb/asm/Opcodes
+(host.import: org/objectweb/asm/Opcodes
(#static ACC_PUBLIC int)
(#static ACC_PROTECTED int)
(#static ACC_PRIVATE int)
@@ -41,15 +41,15 @@
(#static V1_8 int)
)
-(host.import org/objectweb/asm/FieldVisitor
+(host.import: org/objectweb/asm/FieldVisitor
(visitEnd [] void))
-(host.import org/objectweb/asm/MethodVisitor
+(host.import: org/objectweb/asm/MethodVisitor
(visitCode [] void)
(visitMaxs [int int] void)
(visitEnd [] void))
-(host.import org/objectweb/asm/ClassWriter
+(host.import: org/objectweb/asm/ClassWriter
(#static COMPUTE_MAXS int)
(#static COMPUTE_FRAMES int)
(new [int])
diff --git a/new-luxc/source/luxc/lang/host/jvm/inst.lux b/new-luxc/source/luxc/lang/host/jvm/inst.lux
index 671a2bb3c..c3088ec7d 100644
--- a/new-luxc/source/luxc/lang/host/jvm/inst.lux
+++ b/new-luxc/source/luxc/lang/host/jvm/inst.lux
@@ -15,15 +15,15 @@
[//type])
## [Host]
-(host.import #long java/lang/Object)
-(host.import #long java/lang/String)
+(host.import: #long java/lang/Object)
+(host.import: #long java/lang/String)
(syntax: (declare {codes (p.many s.local-symbol)})
(|> codes
(list/map (function (_ code) (` ((~' #static) (~ (code.local-symbol code)) (~' int)))))
wrap))
-(`` (host.import org/objectweb/asm/Opcodes
+(`` (host.import: org/objectweb/asm/Opcodes
(#static NOP int)
## Conversion
@@ -90,10 +90,10 @@
(~~ (declare RETURN IRETURN LRETURN DRETURN ARETURN))
))
-(host.import org/objectweb/asm/Label
+(host.import: org/objectweb/asm/Label
(new []))
-(host.import org/objectweb/asm/MethodVisitor
+(host.import: org/objectweb/asm/MethodVisitor
(visitCode [] void)
(visitMaxs [int int] void)
(visitEnd [] void)