Skip to main content

compile_polydat_with

Function compile_polydat_with 

Source
pub fn compile_polydat_with(
    source: &str,
    engine: Engine,
) -> Result<Box<dyn Kernel>, KernelError>
Expand description

Compile source for engine: the interpreter, the closure tier, the hybrid kernel, or pure native code. Every engine accepts every program the interpreter accepts, or refuses it with a reason (crate::KernelError::Refused); a host drives the result through crate::Kernel without knowing which engine it holds. The other compile_polydat* entry points build the interpreter kernel and remain for that.