A brainfuck interpreter in one java class. I was bored and decided to make an easy program to interpret BrainFuck.
Firstly, you must have a JDK installed on your system. If you don't you can download the latest JDK from this link.
Next, run the following commands in your terminal:
git clone https://github.com/aarush-murari/Java-BrainFuck/
cd Java-BrainFuck
javac BrainFuck.javaYou should get a BrainFuck.class file which can be exectued by typing:
java BrainFuck
You can use it like any BrainFuck Interpreter, just note that if you ever type a ',' then your input stream is read in the next line. To exit the interpreter, you may type exit() or quit(). All other characters are ignored.