A simple Brainfuck interpreter written in Python, designed to run Brainfuck code from the command line with zero dependencies beyond Python itself. For detailed API docs and usage, check out doc.txt.
- Brainfuck code execution
- Two copies of the runtime, better one (chat_execute_brainfuck) and worse one (execute_brainfuck)
- Basic command-line interface
- Pure Python, no external libs required (brainfuck.py uses sys, unittest_brainfuck.py uses os, unittest, brainfuc)
- Unit tests included
- Actually fixed recursive looping
- Examples included (Some examples are not valid brainfuck and were used for testing edge cases)
- Lazy make file
python brainfuck.py yourcode.bfFor more info, see doc.txt.
- Python 3.x
No license specified. Use at your own risk.