pub fn compile_source(
source: &str,
options: &CompileOptions,
) -> Result<BytecodeChunk, CompileError>Expand description
Compiles source into a decoded bytecode chunk.
A malformed program is reported as the wire-compatible
Ok(BytecodeChunk::Error { .. }) chunk, with its ":<line>: <message>"
payload rendered from the structured CompileErrorKind::Parse failure
the strict channel reports.