From 052d9852cd5a91a644a92e46537a5f79fa43a0c6 Mon Sep 17 00:00:00 2001 From: s-ol Date: Wed, 27 May 2020 12:53:37 +0200 Subject: allow > and < in symbol names --- alv/parsing.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', '\"' -- cgit v1.2.3