make it a wasi executable

This commit is contained in:
nora 2023-07-26 21:35:31 +02:00
parent 8dd7c174ee
commit 1d0e3a3aff
7 changed files with 87 additions and 13 deletions

View file

@ -11,7 +11,7 @@ import {
} from "./ast";
export function printAst(ast: Ast): string {
return ast.map(printItem).join("\n");
return ast.items.map(printItem).join("\n");
}
function printItem(item: Item): string {