Starting to add types

This commit is contained in:
Dustin Swan 2026-03-25 19:58:37 -06:00
parent a8e879289d
commit 3132b79aae
No known key found for this signature in database
GPG key ID: 30D46587E2100467
5 changed files with 203 additions and 9 deletions

View file

@ -23,7 +23,7 @@ store.viewport = { width: window.innerWidth, height: window.innerHeight };
try {
const tokens = tokenize(cgCode);
const parser = new Parser(tokens, cgCode);
const defs = parser.parse();
const { definitions: defs } = parser.parse();
loadDefinitions();
// TODO remove once we're booting from store, files are backup