Brainfuck is an esoteric programming language, consisting of only 8 instructions each represented by one character. Every other character is silently ignored and can be used as comment.
>
move the active memory cell to the right
<
move the active memory cell to the left
+
increase the value in the active memory cell
-
decrease the value in the active memory cell
.
print the value in the active memory cell as character
,
read one charater as input storing its value in the active memory cell (not implemented)
[
if the value of the active memory cell is 0, jump to the next ]
]
if the value of the active memory cell is not 0, jump to the previous [
Memory Table
Input
Executing Code
Output