aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/target
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/target')
-rw-r--r--stdlib/source/library/lux/target/common_lisp.lux4
-rw-r--r--stdlib/source/library/lux/target/js.lux4
-rw-r--r--stdlib/source/library/lux/target/jvm/bytecode/instruction.lux4
-rw-r--r--stdlib/source/library/lux/target/jvm/encoding/signed.lux2
-rw-r--r--stdlib/source/library/lux/target/jvm/encoding/unsigned.lux2
-rw-r--r--stdlib/source/library/lux/target/jvm/modifier.lux4
-rw-r--r--stdlib/source/library/lux/target/jvm/type/category.lux2
-rw-r--r--stdlib/source/library/lux/target/lua.lux10
-rw-r--r--stdlib/source/library/lux/target/php.lux10
-rw-r--r--stdlib/source/library/lux/target/python.lux10
-rw-r--r--stdlib/source/library/lux/target/r.lux10
-rw-r--r--stdlib/source/library/lux/target/ruby.lux10
12 files changed, 36 insertions, 36 deletions
diff --git a/stdlib/source/library/lux/target/common_lisp.lux b/stdlib/source/library/lux/target/common_lisp.lux
index 04e8c791f..b8005d561 100644
--- a/stdlib/source/library/lux/target/common_lisp.lux
+++ b/stdlib/source/library/lux/target/common_lisp.lux
@@ -32,7 +32,7 @@
(|>> :representation))
(template [<type> <super>]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(`` (abstract: .public (<brand> brand) Any))
(`` (type: .public (<type> brand)
(<super> (<brand> brand)))))]
@@ -46,7 +46,7 @@
)
(template [<type> <super>]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(`` (abstract: .public <brand> Any))
(`` (type: .public <type> (<super> <brand>))))]
diff --git a/stdlib/source/library/lux/target/js.lux b/stdlib/source/library/lux/target/js.lux
index dc1a4d71b..b6f649c95 100644
--- a/stdlib/source/library/lux/target/js.lux
+++ b/stdlib/source/library/lux/target/js.lux
@@ -36,7 +36,7 @@
(|>> :representation))
(template [<type> <super>+]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(abstract: (<brand> brand) Any)
(`` (type: .public <type> (|> Any <brand> (~~ (template.spliced <super>+))))))]
@@ -47,7 +47,7 @@
)
(template [<type> <super>+]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(abstract: <brand> Any)
(`` (type: .public <type> (|> <brand> (~~ (template.spliced <super>+))))))]
diff --git a/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux b/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux
index b47e4d4ba..61bb956bd 100644
--- a/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux
+++ b/stdlib/source/library/lux/target/jvm/bytecode/instruction.lux
@@ -100,7 +100,7 @@
)
(template [<shift> <name> <inputT> <writer> <unwrap>]
- [(with_expansions [<private> (template.identifier ["'" <name>])]
+ [(with_expansions [<private> (template.symbol ["'" <name>])]
(def: (<private> opcode input0)
(-> Opcode <inputT> Mutation)
(function (_ [offset binary])
@@ -126,7 +126,7 @@
)
(template [<shift> <name> <inputT> <writer>]
- [(with_expansions [<private> (template.identifier ["'" <name>])]
+ [(with_expansions [<private> (template.symbol ["'" <name>])]
(def: (<private> opcode input0)
(-> Opcode <inputT> Mutation)
(function (_ [offset binary])
diff --git a/stdlib/source/library/lux/target/jvm/encoding/signed.lux b/stdlib/source/library/lux/target/jvm/encoding/signed.lux
index d07406031..415c7f504 100644
--- a/stdlib/source/library/lux/target/jvm/encoding/signed.lux
+++ b/stdlib/source/library/lux/target/jvm/encoding/signed.lux
@@ -48,7 +48,7 @@
["Scope (in bytes)" (%.nat scope)]))
(template [<bytes> <name> <size> <constructor> <maximum> <+> <->]
- [(with_expansions [<raw> (template.identifier [<name> "'"])]
+ [(with_expansions [<raw> (template.symbol [<name> "'"])]
(abstract: <raw> Any)
(type: .public <name> (Signed <raw>)))
diff --git a/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux b/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux
index 9549340c3..9df045d18 100644
--- a/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux
+++ b/stdlib/source/library/lux/target/jvm/encoding/unsigned.lux
@@ -60,7 +60,7 @@
["Subject" (%.nat (:representation subject))]))
(template [<bytes> <name> <size> <constructor> <maximum> <+> <-> <max>]
- [(with_expansions [<raw> (template.identifier [<name> "'"])]
+ [(with_expansions [<raw> (template.symbol [<name> "'"])]
(abstract: .public <raw> Any)
(type: .public <name> (Unsigned <raw>)))
diff --git a/stdlib/source/library/lux/target/jvm/modifier.lux b/stdlib/source/library/lux/target/jvm/modifier.lux
index 3ab952378..400b341e7 100644
--- a/stdlib/source/library/lux/target/jvm/modifier.lux
+++ b/stdlib/source/library/lux/target/jvm/modifier.lux
@@ -11,7 +11,7 @@
[data
[format
["[0]F" binary {"+" Writer}]]]
- [macro {"+" with_identifiers}
+ [macro {"+" with_symbols}
[syntax {"+" syntax:}]
["[0]" code]]
[math
@@ -80,7 +80,7 @@
(syntax: .public (modifiers: [ofT <code>.any
options (<>.many <code>.any)])
- (with_identifiers [g!modifier g!code]
+ (with_symbols [g!modifier g!code]
(in (list (` (template [(~ g!code) (~ g!modifier)]
[(def: (~' .public) (~ g!modifier)
(..Modifier (~ ofT))
diff --git a/stdlib/source/library/lux/target/jvm/type/category.lux b/stdlib/source/library/lux/target/jvm/type/category.lux
index 177da5322..e3bbface9 100644
--- a/stdlib/source/library/lux/target/jvm/type/category.lux
+++ b/stdlib/source/library/lux/target/jvm/type/category.lux
@@ -22,7 +22,7 @@
(type: .public Parameter (<| Return' Value' Object' Parameter' Any))
(template [<parents> <child>]
- [(with_expansions [<raw> (template.identifier [<child> "'"])]
+ [(with_expansions [<raw> (template.symbol [<child> "'"])]
(abstract: <raw> Any)
(type: .public <child>
(`` (<| Return' Value' (~~ (template.spliced <parents>)) <raw>))))]
diff --git a/stdlib/source/library/lux/target/lua.lux b/stdlib/source/library/lux/target/lua.lux
index f06c47ee4..02fe49a51 100644
--- a/stdlib/source/library/lux/target/lua.lux
+++ b/stdlib/source/library/lux/target/lua.lux
@@ -59,7 +59,7 @@
(|>> :representation))
(template [<type> <super>+]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(abstract: (<brand> brand) Any)
(`` (type: .public <type> (|> Any <brand> (~~ (template.spliced <super>+))))))]
@@ -70,7 +70,7 @@
)
(template [<type> <super>+]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(abstract: <brand> Any)
(`` (type: .public <type> (|> <brand> (~~ (template.spliced <super>+))))))]
@@ -374,13 +374,13 @@
0 (.list)
_ (|> (-- arity)
(enum.range n.enum 0)
- (list#each (|>> %.nat code.local_identifier))))))
+ (list#each (|>> %.nat code.local_symbol))))))
(syntax: (arity_types [arity <code>.nat])
(in (list.repeated arity (` ..Expression))))
(template [<arity> <function>+]
- [(with_expansions [<apply> (template.identifier ["apply/" <arity>])
+ [(with_expansions [<apply> (template.symbol ["apply/" <arity>])
<inputs> (arity_inputs <arity>)
<types> (arity_types <arity>)
<definitions> (template.spliced <function>+)]
@@ -389,7 +389,7 @@
(..apply/* (.list <inputs>) function))
(template [<function>]
- [(`` (def: .public (~~ (template.identifier [<function> "/" <arity>]))
+ [(`` (def: .public (~~ (template.symbol [<function> "/" <arity>]))
(<apply> (..var <function>))))]
<definitions>))]
diff --git a/stdlib/source/library/lux/target/php.lux b/stdlib/source/library/lux/target/php.lux
index f2b459958..3d477cf34 100644
--- a/stdlib/source/library/lux/target/php.lux
+++ b/stdlib/source/library/lux/target/php.lux
@@ -67,7 +67,7 @@
(|>> :representation))
(template [<type> <super>+]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(abstract: (<brand> brand) Any)
(`` (type: .public <type> (|> Any <brand> (~~ (template.spliced <super>+))))))]
@@ -78,7 +78,7 @@
)
(template [<type> <super>+]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(abstract: .public <brand> Any)
(`` (type: .public <type> (|> <brand> (~~ (template.spliced <super>+))))))]
@@ -231,13 +231,13 @@
0 (.list)
_ (|> (-- arity)
(enum.range n.enum 0)
- (list#each (|>> %.nat code.local_identifier))))))
+ (list#each (|>> %.nat code.local_symbol))))))
(syntax: (arity_types [arity <code>.nat])
(in (list.repeated arity (` ..Expression))))
(template [<arity> <function>+]
- [(with_expansions [<apply> (template.identifier ["apply/" <arity>])
+ [(with_expansions [<apply> (template.symbol ["apply/" <arity>])
<inputs> (arity_inputs <arity>)
<types> (arity_types <arity>)
<definitions> (template.spliced <function>+)]
@@ -246,7 +246,7 @@
(..apply/* (.list <inputs>) function))
(template [<function>]
- [(`` (def: .public (~~ (template.identifier [<function> "/" <arity>]))
+ [(`` (def: .public (~~ (template.symbol [<function> "/" <arity>]))
(<apply> (..constant <function>))))]
<definitions>))]
diff --git a/stdlib/source/library/lux/target/python.lux b/stdlib/source/library/lux/target/python.lux
index 17ddfcb4d..064c39bfc 100644
--- a/stdlib/source/library/lux/target/python.lux
+++ b/stdlib/source/library/lux/target/python.lux
@@ -71,7 +71,7 @@
(|>> :representation))
(template [<type> <super>]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(`` (abstract: (<brand> brand) Any))
(`` (type: .public (<type> brand)
(<super> (<brand> brand)))))]
@@ -84,7 +84,7 @@
)
(template [<type> <super>]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(`` (abstract: <brand> Any))
(`` (type: .public <type> (<super> <brand>))))]
@@ -461,13 +461,13 @@
0 (.list)
_ (|> (-- arity)
(enum.range n.enum 0)
- (list#each (|>> %.nat code.local_identifier))))))
+ (list#each (|>> %.nat code.local_symbol))))))
(syntax: (arity_types [arity <code>.nat])
(in (list.repeated arity (` (Expression Any)))))
(template [<arity> <function>+]
- [(with_expansions [<apply> (template.identifier ["apply/" <arity>])
+ [(with_expansions [<apply> (template.symbol ["apply/" <arity>])
<inputs> (arity_inputs <arity>)
<types> (arity_types <arity>)
<definitions> (template.spliced <function>+)]
@@ -476,7 +476,7 @@
(..apply/* function (.list <inputs>)))
(template [<function>]
- [(`` (def: .public (~~ (template.identifier [<function> "/" <arity>]))
+ [(`` (def: .public (~~ (template.symbol [<function> "/" <arity>]))
(<apply> (..var <function>))))]
<definitions>))]
diff --git a/stdlib/source/library/lux/target/r.lux b/stdlib/source/library/lux/target/r.lux
index 2499ce6c2..6e0b19d2a 100644
--- a/stdlib/source/library/lux/target/r.lux
+++ b/stdlib/source/library/lux/target/r.lux
@@ -26,7 +26,7 @@
Text
(template [<type> <super>+]
- [(with_expansions [<kind> (template.identifier [<type> "'"])]
+ [(with_expansions [<kind> (template.symbol [<type> "'"])]
(abstract: .public (<kind> kind) Any)
(`` (type: .public <type> (|> Any <kind> (~~ (template.spliced <super>+))))))]
@@ -34,7 +34,7 @@
)
(template [<type> <super>+]
- [(with_expansions [<kind> (template.identifier [<type> "'"])]
+ [(with_expansions [<kind> (template.symbol [<type> "'"])]
(abstract: .public (<kind> kind) Any)
(`` (type: .public (<type> <brand>) (|> <brand> <kind> (~~ (template.spliced <super>+))))))]
@@ -208,13 +208,13 @@
0 (.list)
_ (|> arity
list.indices
- (list#each (|>> %.nat code.local_identifier))))))
+ (list#each (|>> %.nat code.local_symbol))))))
(syntax: (arity_types [arity <code>.nat])
(in (list.repeated arity (` ..Expression))))
(template [<arity> <function>+]
- [(with_expansions [<apply> (template.identifier ["apply/" <arity>])
+ [(with_expansions [<apply> (template.symbol ["apply/" <arity>])
<inputs> (arity_inputs <arity>)
<types> (arity_types <arity>)
<definitions> (template.spliced <function>+)]
@@ -223,7 +223,7 @@
(..apply (.list <inputs>) function))
(template [<function>]
- [(`` (def: .public (~~ (template.identifier [<function> "/" <arity>]))
+ [(`` (def: .public (~~ (template.symbol [<function> "/" <arity>]))
(-> [<types>] Expression)
(<apply> (..var <function>))))]
diff --git a/stdlib/source/library/lux/target/ruby.lux b/stdlib/source/library/lux/target/ruby.lux
index 1824a139f..fe641d5da 100644
--- a/stdlib/source/library/lux/target/ruby.lux
+++ b/stdlib/source/library/lux/target/ruby.lux
@@ -59,7 +59,7 @@
(|>> :representation))
(template [<type> <super>+]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(abstract: (<brand> brand) Any)
(`` (type: .public <type> (|> Any <brand> (~~ (template.spliced <super>+))))))]
@@ -72,7 +72,7 @@
)
(template [<type> <super>+]
- [(with_expansions [<brand> (template.identifier [<type> "'"])]
+ [(with_expansions [<brand> (template.symbol [<type> "'"])]
(abstract: <brand> Any)
(`` (type: .public <type> (|> <brand> (~~ (template.spliced <super>+))))))]
@@ -437,13 +437,13 @@
0 (.list)
_ (|> (-- arity)
(enum.range n.enum 0)
- (list#each (|>> %.nat code.local_identifier))))))
+ (list#each (|>> %.nat code.local_symbol))))))
(syntax: (arity_types [arity <code>.nat])
(in (list.repeated arity (` ..Expression))))
(template [<arity> <function>+]
- [(with_expansions [<apply> (template.identifier ["apply/" <arity>])
+ [(with_expansions [<apply> (template.symbol ["apply/" <arity>])
<inputs> (arity_inputs <arity>)
<types> (arity_types <arity>)
<definitions> (template.spliced <function>+)]
@@ -452,7 +452,7 @@
(..apply/* (.list <inputs>) function))
(template [<function>]
- [(`` (def: .public (~~ (template.identifier [<function> "/" <arity>]))
+ [(`` (def: .public (~~ (template.symbol [<function> "/" <arity>]))
(<apply> (..local <function>))))]
<definitions>))]