mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 19:16:35 +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 };
|
||
|
}
|