Removed the short-hello.bf example
parent
49a001b593
commit
7f53e13f4f
|
@ -1 +0,0 @@
|
||||||
+[-->-[>>+>-----<<]<--<---]>-.>>>+.>>..+++[.>]<<<<.+++.------.<<-.>>>>+.
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue