userust_bf::BrainfuckReader;fnmain(){// Example: demonstrate debug mode (no real I/O; prints a step-by-step table)
// Program: move pointer right, increment, then move left and output (suppressed in debug)
let code =">+.<";letmut bf =BrainfuckReader::new(code.to_string());ifletErr(err)= bf.run_debug(){eprintln!("Brainfuck interpreter error: {:?}", err);std::process::exit(1);}// Note: run_debug prints its own table; no trailing newline is necessary.
}