feat: support enums, distinct types, unions and matching

This commit is contained in:
2026-10-25 23:16:09 +01:00
parent 280059d83d
commit 9966a1f523
23 changed files with 3049 additions and 176 deletions
+4 -2
View File
@@ -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