tidy tidal package
- move tidal repl to examples - make hs2js synchronous
This commit is contained in:
parent
d108de40d0
commit
fd950d4476
12 changed files with 171 additions and 154 deletions
|
|
@ -127,7 +127,7 @@ export function run(node, scope, ops = {}) {
|
|||
}
|
||||
}
|
||||
|
||||
export async function evaluate(haskellCode, scope = globalThis, ops) {
|
||||
const ast = await parse(haskellCode);
|
||||
export function evaluate(haskellCode, scope = globalThis, ops) {
|
||||
const ast = parse(haskellCode);
|
||||
return run(ast.rootNode, scope, ops);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue