Type Definition bf::rle::Program[][src]

type Program = [Statement];

A run-length encoded BF program is a rose tree of run-length encoded statements.

Trait Implementations

impl Interpretable for Program
[src]

Interprets a program against the given state.

Interprets a program. If the given size is None, the default memory size.

Interprets a program using stdin and stdout for input and output.

Interprets a program from memory, returning a vector of its output.

impl PeepholeCompilable for Program
[src]

Compile the given program into RLE AST to prepare for peephole optimization.

Important traits for Box<R>

Peephole optimize the given program.