This program executes your brainfuck program.
-
Any invalid Characters in your program-string will be ignored.
-
The tape is 4kb long and wraps around both ends.
-
Programs with unbalanced brackets will not be executed and an Exception will be thrown.
-
The program itself will not be copied onto the tape.
-
The tape is wiped as soon as a new program is being run. (Every call to interpret() wipes the tape)
-
Valid Instructions are:
main.java.Instruction | RSHIFT | LSHIFT | INCR | DECR | READ | LOOP_START | LOOP_END | |
---|---|---|---|---|---|---|---|---|
Identifier |
> |
< |
+ |
- |
. |
, |
[ |
] |