Remove latent debug `println` for BFF input

pull/43/head
Alex Bethel 2021-07-22 22:11:55 -05:00
parent d0cc5286c3
commit e5c67a6049
1 changed files with 2 additions and 5 deletions

View File

@ -239,10 +239,7 @@ impl ExecEnv {
instructions: code.to_owned(),
tape_len: tape_len
.as_ref()
.map(|tape_len| {
self.eval_expr(tape_len)
.map(|v| v.into_i32() as usize)
})
.map(|tape_len| self.eval_expr(tape_len).map(|v| v.into_i32() as usize))
.unwrap_or(Ok(crate::brian::DEFAULT_TAPE_SIZE_LIMIT))?,
}),
);
@ -335,7 +332,7 @@ impl ExecEnv {
for arg in args {
arg.borrow().bf_write(&mut input);
}
println!("input = {:?}", input);
let mut output = vec![];
crate::brian::Interpreter::from_ascii_with_tape_limit(