aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-05-27 10:53:37 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-02 14:24:49 +0000
commit052d9852cd5a91a644a92e46537a5f79fa43a0c6 (patch)
tree7677071daf756bb3b634a75a6a66520082ab5905
parentalign some docstrings (diff)
downloadalive-052d9852cd5a91a644a92e46537a5f79fa43a0c6.tar.gz
alive-052d9852cd5a91a644a92e46537a5f79fa43a0c6.zip
allow > and < in symbol names
-rw-r--r--alv/parsing.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/alv/parsing.moon b/alv/parsing.moon
index 8787d27..2e01efb 100644
--- a/alv/parsing.moon
+++ b/alv/parsing.moon
@@ -19,7 +19,7 @@ mspace = (comment + wc)^0 / 1 -- optional whitespace
-- atoms
digit = R '09'
-first = (R 'az', 'AZ') + S '-_+*/.=~!?%'
+first = (R 'az', 'AZ') + S '-_+*/.=~!?%><'
sym = first * (first + digit)^0 / Constant\parse 'sym'
strd = '"' * (C ((P '\\"') + (P '\\\\') + (1 - P '"'))^0) * '"' / Constant\parse 'str', '\"'