import { Stmt } from "./ast.ts"; import { Lexer } from "./Lexer.ts"; import { Parser } from "./Parser.ts"; export * from "./Parser.ts"; export * from "./ast.ts"; export * from "./arch.ts"; export * from "./Lexer.ts"; export * from "./Token.ts"; export async function compileWithDebug(filepath: string): Promise { const text = await Deno.readTextFile(filepath); return new Parser(new Lexer(text)).parseStmts(); }