-
Notifications
You must be signed in to change notification settings - Fork 59
Just a small Brainfuck interpreter written in Python
pocmo/Python-Brainfuck
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published