feat/schema: additional literal types

This commit is contained in:
mae
2026-01-28 02:08:12 -06:00
parent 11fcbeb31a
commit dc87bef1c2
11 changed files with 7007 additions and 1484 deletions

View File

@@ -139,7 +139,10 @@ var TokMap = TokenMap{
"INVALID",
"␚",
"string",
"number",
"rune",
"int",
"float",
"imaginary",
"name",
"(",
")",
@@ -147,13 +150,16 @@ var TokMap = TokenMap{
},
idMap: map[string]Type{
"INVALID": 0,
"␚": 1,
"string": 2,
"number": 3,
"name": 4,
"(": 5,
")": 6,
".": 7,
"INVALID": 0,
"␚": 1,
"string": 2,
"rune": 3,
"int": 4,
"float": 5,
"imaginary": 6,
"name": 7,
"(": 8,
")": 9,
".": 10,
},
}