you can use "else" as "unless"
This commit is contained in:
@@ -98,7 +98,7 @@ KEYWORDS: dict[str, TokenType] = {
|
||||
}
|
||||
|
||||
ALT_KEYWORDS: dict[str, TokenType] = {
|
||||
|
||||
"else": TokenType.UNLESS
|
||||
}
|
||||
|
||||
TYPE_KEYWORDS: list[str] = ["Int", "Float", "String", "Bool", "List", "Nil", "Func"]
|
||||
|
||||
Reference in New Issue
Block a user