BF interpreter in Python

Will McGugan news at
Tue Mar 29 15:22:28 CEST 2005


Python is my favorite language, but I rarely get the opertunity to use 
it at work, so I find myself actively looking for problems to solve with 
it. Consequently while waiting for C++ build to finish, I wrote a 
BrainF*** interpreter.

If you are not familiar with the BF language see the following example, 
which calculates the mandlebrot set..

My BF interpreter is here..

Release to the public domain!

I imagine somebody has already done this in Python, and I fully expect 
some Python expert to give a one line generator expression with the same 

Will McGugan

More information about the Python-list mailing list