A script to evaluate brainfuck code.
Overview:
- Evaluating small code.
- Doesn't support input yet
Simple hello world code within the hello_world.txt file.
>>++++[<+++++[<+++++>-]>-]<<++++.---.>++[<+++>-]<+..+++.>>>++++[<++++[<++>-]>-]<<.--[>++++<-]>-.>++++[<-->-]<.+++.>+++[<-->-]<.>++++[<-->-]<.
Modify the code variable within the brainf.js file.
Run with node.
node brainf.js hello_world.txt