mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 07:46:32 +00:00
7 lines
241 B
TypeScript
7 lines
241 B
TypeScript
import { Compiler, CompileResult } from "./compiler.ts";
|
|
|
|
export async function compileWithDebug(path: string): Promise<CompileResult> {
|
|
const { program, fnNames } = await new Compiler(path).compile();
|
|
return { program, fnNames };
|
|
}
|