diff options
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/generator/eval.jvm.lux | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/new-luxc/source/luxc/generator/eval.jvm.lux b/new-luxc/source/luxc/generator/eval.jvm.lux index e7567f1fa..e6650953f 100644 --- a/new-luxc/source/luxc/generator/eval.jvm.lux +++ b/new-luxc/source/luxc/generator/eval.jvm.lux @@ -4,7 +4,7 @@ (data ["R" result] text/format) [macro #+ Monad<Lux> "Lux/" Monad<Lux>] - [host #+ jvm-import do-to]) + [host #+ do-to]) (luxc ["&" base] (lang ["la" analysis] ["ls" synthesis]) @@ -17,16 +17,16 @@ ["$i" inst]))) )) -(jvm-import java.lang.Object) -(jvm-import java.lang.String) +(host;import java.lang.Object) +(host;import java.lang.String) -(jvm-import java.lang.reflect.Field +(host;import java.lang.reflect.Field (get [Object] Object)) -(jvm-import (java.lang.Class a) +(host;import (java.lang.Class a) (getField [String] Field)) -(jvm-import org.objectweb.asm.Opcodes +(host;import org.objectweb.asm.Opcodes (#static ACC_PUBLIC int) (#static ACC_SUPER int) (#static ACC_FINAL int) @@ -36,7 +36,7 @@ (#static V1_6 int) ) -(jvm-import org.objectweb.asm.MethodVisitor +(host;import org.objectweb.asm.MethodVisitor (visitCode [] void) (visitEnd [] void) (visitLdcInsn [Object] void) @@ -44,10 +44,10 @@ (visitInsn [int] void) (visitMaxs [int int] void)) -(jvm-import org.objectweb.asm.FieldVisitor +(host;import org.objectweb.asm.FieldVisitor (visitEnd [] void)) -(jvm-import org.objectweb.asm.ClassWriter +(host;import org.objectweb.asm.ClassWriter (#static COMPUTE_MAXS int) (new [int]) (visit [int int String String String (Array String)] void) |