Skip to main content

compile_polydat_with_engine

Function compile_polydat_with_engine 

Source
pub fn compile_polydat_with_engine(
    source: &str,
    engine: Engine,
    options: &CompileOptions,
    log: Option<&mut CompileEventLog>,
) -> Result<Box<dyn Kernel>, KernelError>
Expand description

compile_polydat_with with the kernel path’s options (source directory, library paths, required outputs, strict typing, the error context label, the cursor limit) and the compile event log. On the interpreter this is the whole kernel path, traversals included; on a compiled engine the assembler entry point followed by PolydatAssembler::compile_engine_with_log.