Small BF Interpreter in Scala
This is a small interpreter for BF I wrote about a month ago. Nothing new, but I thought I might share it anyway.
A small usage example:
I’ve tested it with the hello world program from Wikipedia and the “99 Bottles of Beer” program which I found on this page.
Hello world:
Edit (19th January 2013): As mentioned in the comments, the way this interpreter handles loops is more like a do-while instead of a while loop.