Skip to main content

compile_program_full_with_wire

Function compile_program_full_with_wire 

pub fn compile_program_full_with_wire(
    source: &str,
) -> Result<CompileOutput, ParseError>
Expand description

Like compile_program_full, but every emitted (non-generic) enum also gets WireEncode/WireDecode impls over the shared logicaffeine_data::wire codec — byte-identical to the peer codec’s encode_value_raw. This lets a compile-once native partial evaluator receive a program AST as data over the same fast codec the interpreter uses. Ordinary compiles (the default) are byte-unchanged.