Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pocmo/Python-Brainfuck
Just a small Brainfuck interpreter written in Python
https://github.com/pocmo/Python-Brainfuck
Last synced: 3 months ago
JSON representation
Just a small Brainfuck interpreter written in Python
- Host: GitHub
- URL: https://github.com/pocmo/Python-Brainfuck
- Owner: pocmo
- Created: 2011-06-18T18:58:11.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-02-06T04:13:05.000Z (almost 3 years ago)
- Last Synced: 2024-06-25T14:35:19.794Z (5 months ago)
- Language: Python
- Homepage: http://www.pocmo.de
- Size: 4.88 KB
- Stars: 203
- Watchers: 10
- Forks: 58
- Open Issues: 4
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is just a small Brainfuck interpreter written in Python.
Usage:
./brainfuck.py yourcode.bfYou can use it as a module as well:
import brainfucksourcecode = """
++++++++++[>+++++++>++++++++++>+++>+<<<<-]
>++.>+.+++++++..+++.>++.<<+++++++++++++++.
>.+++.------.--------.>+.>.
"""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.