many things

This commit is contained in:
nora 2023-07-31 22:39:17 +02:00
parent f582a5b4c3
commit 924236532c
13 changed files with 264 additions and 85 deletions

View file

@ -37,7 +37,8 @@ export type DatalessToken =
| "=="
| "<="
| ">="
| "!=";
| "!="
| "end of file";
export type TokenIdent = { kind: "identifier"; ident: string };
@ -109,6 +110,9 @@ export function tokenize(input: string): Token[] {
throw new CompilerError("unterminated block comment", span);
}
}
i++;
i++;
continue;
}
if (SINGLE_PUNCT.includes(next)) {