use brainrust::*; fn main() { let eval = eval( &( "+++++[>+++++++++<-],[[>--.++>+<<-]>+.->[<.>-]<<,]" ) ); if eval.is_err() { let err = eval.unwrap_err(); if err == "Stdin closed" { return } eprintln!("Program failed: {}", err); } }