struct literals

This commit is contained in:
nora 2023-07-27 22:00:04 +02:00
parent b52abed441
commit 39a995b765
6 changed files with 149 additions and 17 deletions

View file

@ -10,6 +10,8 @@ export type DatalessToken =
| "type"
| "("
| ")"
| "{"
| "}"
| "["
| "]"
| ";"
@ -54,6 +56,8 @@ export type BaseToken = { kind: Token["kind"] };
const SINGLE_PUNCT: string[] = [
"(",
")",
"}",
"{",
"[",
"]",
";",