From b14102eaa2a80f51f160ba293ec01928dbe683c3 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sun, 22 Jul 2018 02:52:46 -0400 Subject: - Some fixes due to recent changes in stdlib. - Removed some (now) useless modules. --- new-luxc/source/luxc/lang/host/jvm/def.lux | 18 +++++++++--------- new-luxc/source/luxc/lang/host/jvm/inst.lux | 11 ++++++----- new-luxc/source/luxc/lang/host/jvm/type.lux | 4 ++-- 3 files changed, 17 insertions(+), 16 deletions(-) (limited to 'new-luxc/source/luxc/lang/host/jvm') diff --git a/new-luxc/source/luxc/lang/host/jvm/def.lux b/new-luxc/source/luxc/lang/host/jvm/def.lux index 3d3f8d80d..f70543ff7 100644 --- a/new-luxc/source/luxc/lang/host/jvm/def.lux +++ b/new-luxc/source/luxc/lang/host/jvm/def.lux @@ -6,16 +6,16 @@ ["." product] [collection ["a" array] - [list ("list/" Functor)]]] - [host (#+ do-to)] - [function]] + ["." list ("list/." Functor)]]] + ["." host (#+ import: do-to)] + ["." function]] ["$" // ["$t" type]]) -(host.import: #long java/lang/Object) -(host.import: #long java/lang/String) +(import: #long java/lang/Object) +(import: #long java/lang/String) -(host.import: org/objectweb/asm/Opcodes +(import: org/objectweb/asm/Opcodes (#static ACC_PUBLIC int) (#static ACC_PROTECTED int) (#static ACC_PRIVATE int) @@ -42,15 +42,15 @@ (#static V1_8 int) ) -(host.import: org/objectweb/asm/FieldVisitor +(import: org/objectweb/asm/FieldVisitor (visitEnd [] void)) -(host.import: org/objectweb/asm/MethodVisitor +(import: org/objectweb/asm/MethodVisitor (visitCode [] void) (visitMaxs [int int] void) (visitEnd [] void)) -(host.import: org/objectweb/asm/ClassWriter +(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 463861798..d63ca3795 100644 --- a/new-luxc/source/luxc/lang/host/jvm/inst.lux +++ b/new-luxc/source/luxc/lang/host/jvm/inst.lux @@ -9,14 +9,15 @@ [text format] [collection - ["." list ("list/" Functor)]]] - [host (#+ import: do-to)] + ["." list ("list/." Functor)]]] + ["." host (#+ import: do-to)] [macro ["." code] ["s" syntax (#+ syntax:)]] - [function] - [language - [compiler (#+ Operation)]]] + ["." function] + [compiler + [default + [phase (#+ Operation)]]]] ["." // (#+ Primitive Inst) ["." type]]) diff --git a/new-luxc/source/luxc/lang/host/jvm/type.lux b/new-luxc/source/luxc/lang/host/jvm/type.lux index f9a956b86..866ef1cef 100644 --- a/new-luxc/source/luxc/lang/host/jvm/type.lux +++ b/new-luxc/source/luxc/lang/host/jvm/type.lux @@ -4,8 +4,8 @@ ["." text format] [collection - [list ("list/" Functor)]]]] - [//]) + ["." list ("list/." Functor)]]]] + ["." //]) ## Types (do-template [ ] -- cgit v1.2.3