Crate bf_lib

Source
Expand description

§bf-lib

bf-lib is small library to run brainfuck programs non-interactively

The entry point is the Exec struct, stole the idea from subprocess

Structs§

Exec
Interface for running brainfuck code.

Enums§

Error
Possible errors encountered while running the program.
RuntimeError
Possible runtime errors encountered while running the program.

Functions§

check_brackets
Looks for unmatched brackets
wants_input
Checks if the program will try to read user input.