Brainfuck Interpreter
Brainfuck is an esoteric programming language. That means its purpose is to be extremely annoying and made for the opposite of practical use.
The language features exclusively eight commands:
- + to increase the current memory cell.
- - to decrease the current memory cell.
- > to move the memory cell pointer up.
- < to move the memory cell pointer down.
- . to print the current memory cell as a character.
- , to copy the user's input as a character into the current memory cell.
- [ to start a loop, or skip it if the current memory cell is zero.
- ] to restart the loop if the current memory cell isn't zero.
This is a simple interpreter made in JavaScript, with a real time memory visualiser.
0 |