Struct brainfuck::program::Program [] [src]

pub struct Program { /* fields omitted */ }

The logic desired to be run by the brainfuck interpreter.

A program consists of the Abstract Syntax List (ASL) of a given brainfuck source text. The main operations of a program is creating one with the parse function, and getting the instruction for a given program counter with the get function.

Methods

impl Program
[src]

Create a program from source text.

Get the instruction at the given program counter.

Create a program from a file.

Trait Implementations

impl Debug for Program
[src]

Formats the value using the given formatter.

impl Display for Program
[src]

Formats the value using the given formatter. Read more