Crate tapir_bf

Source
Expand description

Tapir is a one-function, zero-dependency Brainfuck interpreter.

Enums§

  • The type of errors generated by enhanced_input. Wraps the error type E of the underlying iterator in InputException<E>.
  • The type of errors encountered/generated by interpret during execution, representing I/O failures as well as invalid Brainfuck programs/interpreter states.

Functions§

  • Wraps any valid input stream with a line-based preprocessor.
  • Runs a Brainfuck program to completion, or produces an error in the form of a TapirError along with the index into program of the last instruction executed.