Trait bf::rle::RleCompilable[][src]

pub trait RleCompilable {
    fn with_ast<F, R>(&self, k: F) -> R
    where
        F: FnOnce(&Program) -> R
; fn rle_compile(&self) -> Box<Program> { ... } }
[]

Program forms that can be compiled to the RLE AST.

Required Methods

[]

Convert the given program to unoptimized AST to prepare for run-length encoding.

Provided Methods

Important traits for Box<R>

[]

Run-length encode the given program.

Implementors