Last night I spent some time with the guys from West London Hack Night and I enjoyed it a lot. That night’s topic of choice was “Brainfuck interpreter“. Unfortunately there wasn’t a PHP team so I had to be a part of the JavaScript team and … we failed to deliver. But to be honest the main reason was that we spent much time trying to understand how Brainfuck works.

Well … after a couple of hours today I created a working interpreter but with PHP. It will be an easy job to do it as JavaScript but I see no reason for that – there are plenty of JavaScript implementations out there (and PHP, and any other language).

Anyway, if you have some questions or even better – suggestions how to make it better, please put a comment or just clone the repo and push, push, push 🙂