aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/extension.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-09-14 02:56:22 -0400
committerEduardo Julian2021-09-14 02:56:22 -0400
commit971767f1eafb22208912353d8709f11081f2d3c8 (patch)
tree9b043f1238af49a33c1a625d737c9f0e1abb6e99 /stdlib/source/library/lux/extension.lux
parent1c93f003f73116202b1f964b0d1b6d3f07b69fb0 (diff)
Re-named "Identifier" to "Symbol".
Diffstat (limited to 'stdlib/source/library/lux/extension.lux')
-rw-r--r--stdlib/source/library/lux/extension.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/library/lux/extension.lux b/stdlib/source/library/lux/extension.lux
index 87812cb08..91c86641e 100644
--- a/stdlib/source/library/lux/extension.lux
+++ b/stdlib/source/library/lux/extension.lux
@@ -12,7 +12,7 @@
["[0]" product]
[collection
["[0]" list ("[1]#[0]" functor)]]]
- [macro {"+" with_identifiers}
+ [macro {"+" with_symbols}
["[0]" code]
[syntax {"+" syntax:}]]
[tool
@@ -31,18 +31,18 @@
(-> Code (Parser Declaration))
(<c>.form ($_ <>.and
<c>.any
- <c>.local_identifier
- <c>.local_identifier
- <c>.local_identifier
+ <c>.local_symbol
+ <c>.local_symbol
+ <c>.local_symbol
(<c>.tuple (<>.some <c>.any)))))
(template [<any> <end> <and> <result> <extension> <name>]
[(syntax: .public (<name> [[name extension phase archive inputs] (..declaration (` <any>))
body <c>.any])
- (let [g!name (code.local_identifier extension)
- g!phase (code.local_identifier phase)
- g!archive (code.local_identifier archive)]
- (with_identifiers [g!handler g!inputs g!error g!_]
+ (let [g!name (code.local_symbol extension)
+ g!phase (code.local_symbol phase)
+ g!archive (code.local_symbol archive)]
+ (with_symbols [g!handler g!inputs g!error g!_]
(in (list (` (<extension> (~ name)
(.function ((~ g!handler) (~ g!name) (~ g!phase) (~ g!archive) (~ g!inputs))
(.case ((~! <result>)