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

type Program = [Statement];

At this level, a program is a rose tree of statements.

All instructions are leaves except for the Loop instruction, which contains a boxed Program.

Trait Implementations

impl BytecodeCompilable for Program
[src]

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

Important traits for Box<R>

Compile the given program to bytecode.

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

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

JIT compile the given program.

impl LlvmCompilable for Program
[src]

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

JIT compile and run the given program via LLVM.