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

type Program = [Statement];

A BF program is represented as a slice of statements. The slice will typically be boxed.

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 RleCompilable for Program
[src]

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

Important traits for Box<R>

Run-length encode the given program.