aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/compiler
diff options
context:
space:
mode:
authorEduardo Julian2022-06-12 18:28:30 -0400
committerEduardo Julian2022-06-12 18:28:30 -0400
commit94c0bc5d12ed44540543bd6772d357baeb32bb45 (patch)
treeee3db9030bc4794019c3b4e43e5dda24e73bc33d /stdlib/source/library/lux/tool/compiler
parent616ce8051f59f956fedc57780f5a8fefa16dd61d (diff)
De-sigil-ification: suffix : [Part 5]
Diffstat (limited to 'stdlib/source/library/lux/tool/compiler')
-rw-r--r--stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux b/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux
index 6bde519da..eb9402464 100644
--- a/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux
+++ b/stdlib/source/library/lux/tool/compiler/language/lux/syntax.lux
@@ -499,9 +499,9 @@
{.#Right [source' [@where {@tag full_symbol}]]})]))
... TODO: Grammar macro for specifying syntax.
-... (grammar: lux_grammar
-... [expression ...]
-... [form "(" [#* expression] ")"])
+... (def: lux_grammar
+... (grammar [expression "..."]
+... [form "(" [#* expression] ")"]))
(with_expansions [<consume_1> (these where (!++ offset/0) source_code)
<move_1> (these [(!forward 1 where) (!++ offset/0) source_code])