Struct whitespacers::Interpreter [] [src]

pub struct Interpreter<'a> { /* fields omitted */ }

A whitespace interpreter. This struct provides various strategies for interpreting a whitespace program.

Methods

impl<'a> Interpreter<'a>
[src]

Construct a new whitespace interpreter from a program, input stream and output stream with the specified options.

Similar to Interpreter::interpret_with_simple_state but does not have bigint fallback and returns the amount of executed instructions on success.

The reference interpreter implementation. It uses simple data structures internally, falling back to bignum-based simple datastructures if values become too large.

Interprets the program with optimized data structures, falling back to bignum-based simple datastructures if values become too large.

Interpret the program using only bignum-based simple datastructures. This is slow.