Function stak_compiler::compile_r7rs

source ·
pub fn compile_r7rs(
    source: impl Read,
    target: impl Write
) -> Result<(), CompileError>
Expand description

Compiles a program in R7RS Scheme into bytecodes.

§Examples

let source = "(define x 42)";
let mut target = vec![];

stak_compiler::compile_r7rs(source.as_bytes(), &mut target).unwrap();