From 971767f1eafb22208912353d8709f11081f2d3c8 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 14 Sep 2021 02:56:22 -0400 Subject: Re-named "Identifier" to "Symbol". --- lux-jvm/source/luxc/lang/host/jvm.lux | 24 ++++++++++++------------ lux-jvm/source/luxc/lang/host/jvm/inst.lux | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'lux-jvm') diff --git a/lux-jvm/source/luxc/lang/host/jvm.lux b/lux-jvm/source/luxc/lang/host/jvm.lux index dc4a3b351..321316261 100644 --- a/lux-jvm/source/luxc/lang/host/jvm.lux +++ b/lux-jvm/source/luxc/lang/host/jvm.lux @@ -92,20 +92,20 @@ (type: .public (Generator i) (-> Phase Archive i (Operation Inst))) -(syntax: (config: [type .local_identifier - none .local_identifier - ++ .local_identifier - options (.tuple (<>.many .local_identifier))]) - (let [g!type (code.local_identifier type) - g!none (code.local_identifier none) - g!tags+ (list#each (|>> (format "#") code.local_identifier) options) - g!_left (code.local_identifier "_left") - g!_right (code.local_identifier "_right") +(syntax: (config: [type .local_symbol + none .local_symbol + ++ .local_symbol + options (.tuple (<>.many .local_symbol))]) + (let [g!type (code.local_symbol type) + g!none (code.local_symbol none) + g!tags+ (list#each (|>> (format "#") code.local_symbol) options) + g!_left (code.local_symbol "_left") + g!_right (code.local_symbol "_right") g!options+ (list#each (function (_ option) - (` (def: .public (~ (code.local_identifier option)) + (` (def: .public (~ (code.local_symbol option)) (~ g!type) (|> (~ g!none) - (with@ (~ (code.local_identifier (format "#" option))) #1))))) + (with@ (~ (code.local_symbol (format "#" option))) #1))))) options)] (in (list& (` (type: .public (~ g!type) (.Record @@ -123,7 +123,7 @@ list#conjoint code.tuple)))) - (` (def: .public ((~ (code.local_identifier ++)) (~ g!_left) (~ g!_right)) + (` (def: .public ((~ (code.local_symbol ++)) (~ g!_left) (~ g!_right)) (-> (~ g!type) (~ g!type) (~ g!type)) (~ (|> g!tags+ (list#each (function (_ tag) diff --git a/lux-jvm/source/luxc/lang/host/jvm/inst.lux b/lux-jvm/source/luxc/lang/host/jvm/inst.lux index 1ac0a61cc..fbb6da059 100644 --- a/lux-jvm/source/luxc/lang/host/jvm/inst.lux +++ b/lux-jvm/source/luxc/lang/host/jvm/inst.lux @@ -44,9 +44,9 @@ (import: java/lang/Object) (import: java/lang/String) -(syntax: (declare [codes (p.many s.local_identifier)]) +(syntax: (declare [codes (p.many s.local_symbol)]) (|> codes - (list@each (function (_ code) (` ((~' "static") (~ (code.local_identifier code)) (~' int))))) + (list@each (function (_ code) (` ((~' "static") (~ (code.local_symbol code)) (~' int))))) in)) (`` (import: org/objectweb/asm/Opcodes @@ -174,7 +174,7 @@ ) (template: (!prefix short) - [(`` ((~~ (template.identifier ["org/objectweb/asm/Opcodes::" short]))))]) + [(`` ((~~ (template.symbol ["org/objectweb/asm/Opcodes::" short]))))]) (template [] [(def: .public -- cgit v1.2.3