Trait bf::traits::BytecodeCompilable[][src]

pub trait BytecodeCompilable {
    fn with_peephole<F, R>(&self, k: F) -> R
    where
        F: FnOnce(&Program) -> R
; fn bytecode_compile(&self) -> Box<Program> { ... } }

Program forms that can be compiled to bytecode.

Required Methods

Compile the given program into the peephole AST to prepare for bytecode compilation.

Provided Methods

Important traits for Box<R>

Compile the given program to bytecode.

Implementors