BF interpreter in Python

W

Will McGugan

Hi,

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..

http://esoteric.sange.fi/brainfuck/bf-source/prog/mandelbrot.b

My BF interpreter is here..

http://www.willmcgugan.com/brainfuck.py

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
functionality..


Will McGugan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,230
Messages
2,571,161
Members
47,796
Latest member
AlphonseNa

Latest Threads

Top