aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/host
diff options
context:
space:
mode:
authorEduardo Julian2018-07-03 20:35:42 -0400
committerEduardo Julian2018-07-03 20:35:42 -0400
commit371a407a49ddf0f2fe1d977018fcd0a009c86043 (patch)
tree322daf75a391bfc49026867250e10c424c4ec978 /new-luxc/source/luxc/lang/host
parentc75e8aa8bc84af3b598292f3261354384b3cc80f (diff)
- Re-named "import" to "import:".
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/host.jvm.lux14
-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
4 files changed, 21 insertions, 21 deletions
diff --git a/new-luxc/source/luxc/lang/host.jvm.lux b/new-luxc/source/luxc/lang/host.jvm.lux
index 0491cae25..b9f0588b1 100644
--- a/new-luxc/source/luxc/lang/host.jvm.lux
+++ b/new-luxc/source/luxc/lang/host.jvm.lux
@@ -17,24 +17,24 @@
(luxc [lang]
(lang (translation (jvm [".T" common])))))
-(host.import org/objectweb/asm/Label)
+(host.import: org/objectweb/asm/Label)
-(host.import java/lang/reflect/AccessibleObject
+(host.import: java/lang/reflect/AccessibleObject
(setAccessible [boolean] void))
-(host.import java/lang/reflect/Method
+(host.import: java/lang/reflect/Method
(invoke [Object (Array Object)] #try Object))
-(host.import (java/lang/Class a)
+(host.import: (java/lang/Class a)
(getDeclaredMethod [String (Array (Class Object))] #try Method))
-(host.import java/lang/Object
+(host.import: java/lang/Object
(getClass [] (Class Object)))
-(host.import java/lang/Integer
+(host.import: java/lang/Integer
(#static TYPE (Class Integer)))
-(host.import java/lang/ClassLoader)
+(host.import: java/lang/ClassLoader)
(def: ClassLoader::defineClass
Method
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)