Parsing updates for unicode

- Allow unicode characters in indents and operators
- Show lexing errors
This commit is contained in:
2024-11-02 10:22:04 -07:00
parent d41558c219
commit 6164893da5
13 changed files with 152 additions and 101 deletions

View File

@@ -9,7 +9,6 @@ data Kind
= Ident
| UIdent
| Keyword
| Oper
| MixFix
| Number
| Character
@@ -29,7 +28,6 @@ Show Kind where
show Ident = "Ident"
show UIdent = "UIdent"
show Keyword = "Keyword"
show Oper = "Oper"
show MixFix = "MixFix"
show Number = "Number"
show Character = "Character"
@@ -47,7 +45,6 @@ Eq Kind where
Ident == Ident = True
UIdent == UIdent = True
Keyword == Keyword = True
Oper == Oper = True
MixFix == MixFix = True
Number == Number = True
Character == Character = True