Skip to main content

compile_with_source_map

Function compile_with_source_map 

Source
pub fn compile_with_source_map(
    program: &Program,
) -> CodegenResult<(Vec<u8>, SourceMap)>
Expand description

Compile a validated PEPL Program and return both the WASM binary and a SourceMap mapping WASM function indices to PEPL source spans.