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.

Use a jit compiler that compiles the entire program in advance to execute the program. It is backed by an optimized datastructure, and will fall back to interpretation in unsafe situations. When values become too large it will fall back to bignum-based interpretation.

Use a jit compiler that compiles code synchronously while executing the program. It is backed by an optimized datastructure, and will fall back to interpretation in unsafe situations. When values become too large it will fall back to bignum-based interpretation.

Use a jit compiler that compiles the program in a separate thread while executing the program. It is backed by an optimized datastructure, and will fall back to interpretation in unsafe situations. When values become too large it will fall back to bignum-based interpretation.