Trying to make a text input. this shit is hard
This commit is contained in:
parent
fadf59c6aa
commit
a9e10b3123
3 changed files with 125 additions and 67 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue