aboutsummaryrefslogtreecommitdiffstats
path: root/core/parsing.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-03-02 13:16:21 +0000
committers-ol <s-ol@users.noreply.github.com>2020-03-02 13:16:21 +0000
commitdf91fee4a7bb17f8822a0a5637533257d30e0743 (patch)
tree54f1a3a7bc7b850cc4b0a87296670612274ca518 /core/parsing.moon
parentconvert lib.time to IO (diff)
downloadalive-df91fee4a7bb17f8822a0a5637533257d30e0743.tar.gz
alive-df91fee4a7bb17f8822a0a5637533257d30e0743.zip
update lib.math and lib.logic to new op interface
Diffstat (limited to 'core/parsing.moon')
-rw-r--r--core/parsing.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/parsing.moon b/core/parsing.moon
index ac4f878..e919c41 100644
--- a/core/parsing.moon
+++ b/core/parsing.moon
@@ -15,7 +15,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 / Value\parse 'sym'
strd = '"' * (C ((P '\\"') + (P '\\\\') + (1 - P '"'))^0) * '"' / Value\parse 'str', '\"'