Removed the short-hello.bf example

master
Wynd 2024-10-20 13:39:51 +03:00
parent 49a001b593
commit 7f53e13f4f
2 changed files with 0 additions and 2 deletions

View File

@ -1 +0,0 @@
+[-->-[>>+>-----<<]<--<---]>-.>>>+.>>..+++[.>]<<<<.+++.------.<<-.>>>>+.

View File

@ -35,7 +35,6 @@ fn main() {
match instruction { match instruction {
b'+' => tape[cell_index] = tape[cell_index].wrapping_add(1), b'+' => tape[cell_index] = tape[cell_index].wrapping_add(1),
b'-' => tape[cell_index] = tape[cell_index].wrapping_sub(1), b'-' => tape[cell_index] = tape[cell_index].wrapping_sub(1),
b'>' => { b'>' => {
cell_index = cell_index.wrapping_add(1); cell_index = cell_index.wrapping_add(1);
if tape.len() <= cell_index { if tape.len() <= cell_index {