Skip to main content

compile_polydat_to_assembler

Function compile_polydat_to_assembler 

Source
pub fn compile_polydat_to_assembler(
    source: &str,
) -> Result<PolydatAssembler, String>
Expand description

Compile Polydat source to an assembler (not yet compiled to a kernel).

Returns the PolydatAssembler with every node and wire in place, the graph a host may extend by hand before building it on any engine: PolydatAssembler::compile_kernel for the default engine, PolydatAssembler::compile_with for a named one, PolydatAssembler::compile for the interpreter’s concrete kernel. An assembler carries no traversal, so a program with a for statement is refused here; the kernel entry points compile it.