pub fn compile(program: &Program) -> Result<BytecodeProgram, CompileError>Expand description
Lower a parsed Program to a BytecodeProgram the VM can run.
Metadata statements are folded into the program’s spec, probe definitions into its probe table, and everything else into the instruction stream, with matchers, strings, payloads, and evidence rules interned into their pools.
§Errors
Returns CompileError when the script is syntactically valid but
semantically inconsistent.