brainfuck interpreter
brainfuck cli rust
5

Configure Feed

Select the types of activity you want to include in your feed.

evaluator: moved thread::sleep into gated check

digi.rip (Jun 10, 2026, 4:16 PM EDT) f341538c ffa07b63

+1 -1
+1 -1
src/evaluator.rs
··· 397 397 mut writer: W, 398 398 ) -> Result<(), RuntimeError> { 399 399 while self.inst_pointer < tokens.len() { 400 - thread::sleep(time::Duration::from_millis(self.delay)); 401 400 let current = tokens[self.inst_pointer]; 402 401 403 402 if self.tracing { 404 403 std::io::stdout().flush().ok(); 405 404 if self.delay > 0 { 405 + thread::sleep(time::Duration::from_millis(self.delay)); 406 406 eprint!("{}ms elapsed...", self.delay); 407 407 } 408 408 eprint!(