pocmo / Python-Brainfuck

Just a small Brainfuck interpreter written in Python

Home Page:http://www.pocmo.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is just a small Brainfuck interpreter written in Python.

Usage:
 ./brainfuck.py yourcode.bf

You can use it as a module as well:
  import brainfuck

  sourcecode = """
    ++++++++++[>+++++++>++++++++++>+++>+<<<<-]
    >++.>+.+++++++..+++.>++.<<+++++++++++++++.
    >.+++.------.--------.>+.>.
  """

  brainfuck.evaluate(sourcecode)

http://en.wikipedia.org/wiki/Brainfuck

(C) Sebastian Kaspari 2011
This programm is licensed under the terms of the
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE.

About

Just a small Brainfuck interpreter written in Python

http://www.pocmo.de


Languages

Language:Python 100.0%