wip: enums

This commit is contained in:
nub31
2025-09-29 12:48:11 +02:00
parent 7aa0bce4c1
commit 3107849915
6 changed files with 87 additions and 5 deletions

View File

@@ -82,4 +82,5 @@ public enum Symbol
Export,
Defer,
At,
Enum,
}

View File

@@ -24,6 +24,7 @@ public sealed class Tokenizer
["export"] = Symbol.Export,
["import"] = Symbol.Import,
["defer"] = Symbol.Defer,
["enum"] = Symbol.Enum,
};
private static readonly Dictionary<char[], Symbol> Symbols = new()