@fabric_v1/compiler
Version:
Fabric DSL compiler (parser, checker, IR & backends)
9 lines (8 loc) • 389 B
TypeScript
import { EmitResult, EmitTarget } from "./emitter";
/**
* Compiles Fabric source code to an output target (e.g. JS, WASM).
* @param source Raw source code string
* @param target Output format ("javascript" | "wasm" | "fabric-vm")
* @returns Final compiled output with code (and optional sourcemap)
*/
export declare function generate(source: string, target?: EmitTarget): EmitResult;