BF (BrainF***) compiler in JS

I wrote a Brainfuck compiler in JavaScript.

Basically, it works like this:
1) User enters a BF program
2) The code is being interpreted and JS code is being generated during this process
3) I use an eval(); to create a function in JavaScript that holds the generated code
4) I call the generated function


Leave a Reply