bfdbg 0.2.1

A brainfuck interpreter and debugger implemented in rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use derive_more::Display;

#[derive(Display)]
pub enum DebuggingError {
    #[display("The index is out of bounds!")]
    IndexOutOfBounds,
    #[display("The mark does not exist!")]
    MarkNotFound,
    #[display("There is no jump back destination!")]
    JumpHistoryEmpty,
    #[display("The breakpoint does not exist!")]
    BreakpointNotFound,
    #[display("The instruction is invalid!")]
    InvalidInstruction,
}