Trying to make a text input. this shit is hard

This commit is contained in:
Dustin Swan 2026-02-03 22:56:17 -07:00
parent fadf59c6aa
commit a9e10b3123
No known key found for this signature in database
GPG key ID: 30D46587E2100467
3 changed files with 125 additions and 67 deletions

View file

@ -25,6 +25,7 @@ console.log(ast);
const env: Env = new Map(Object.entries(builtins));
const appRecord = evaluate(ast, env);
console.log("appRecord", appRecord);
if (appRecord.kind !== 'record')
throw new Error('Expected record');