Skip to main content

quote_pe_source

Function quote_pe_source 

Source
pub fn quote_pe_source() -> Result<String, String>
Expand description

Encodes the partial evaluator as CProgram construction source code.

Returns PE function definitions (so peBlock etc. are callable) followed by LOGOS statements that construct the PE’s functions as CFunc data in encodedFuncMap and its main block in encodedMain. The parser handles ## To blocks anywhere in the token stream, so function definitions placed after ## Main are parsed correctly.