feat: support enums, distinct types, unions and matching
This commit is contained in:
@@ -20,13 +20,15 @@ TokenKind :: enum {
|
||||
# keywords
|
||||
if, else
|
||||
for, while
|
||||
match
|
||||
proc, return
|
||||
break, continue
|
||||
true, false
|
||||
and, or
|
||||
mut
|
||||
struct
|
||||
struct, enum, union
|
||||
distinct, alias
|
||||
import, test
|
||||
mut
|
||||
|
||||
# literals
|
||||
ident, string
|
||||
|
||||
Reference in New Issue
Block a user