2023-08-22 09:28:55 +02:00
|
|
|
use brainrust::*;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let eval = eval(
|
|
|
|
&(
|
2023-08-22 09:39:53 +02:00
|
|
|
"++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++."
|
2023-08-22 09:28:55 +02:00
|
|
|
)
|
|
|
|
);
|
|
|
|
if eval.is_err() {
|
2023-08-22 14:46:18 +02:00
|
|
|
eprintln!("Program failed: \n{}", eval.unwrap_err());
|
2023-08-22 09:28:55 +02:00
|
|
|
}
|
|
|
|
}
|