pub enum Error {
UnmatchedBegin,
UnmatchedEnd,
PointerUnderflow,
PointerOverflow,
}
The static and dynamic errors that can happen in Brainfuck.
Unmatched ‘[’ (syntax error)
Unmatched ‘]’ (syntax error)
If execution continues, the pointer will go below 0 (run-time error)
If execution continues, the pointer will go beyond the high end of the
memory (run-time error)
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
[−]
This method tests for !=
.
Formats the value using the given formatter. Read more