A set of projects related to Brainfuck
Migraine is a Brainfuck interpreter, debugger and will eventually feature a programming language that compiles down to Brainfuck. I created this project for learning purposes only and I have a lot of fun writing it. It is still in early development.
- Fully functional interpreter which uses integers as memory cells.
- Load/save a Brainfuck program from/to a file
- Execute the program (!)
- Supply input to the program as we go
- Pre-supply inputs to the program
- Display the output
- Step-by-step execution
- Display the memory cells and their values
- Live editing of the memory cells
- Grammar for simple mathematical expressions (numbers,
+ - * /
operators, parenthesis and operator precedence) - Abstract Syntax Tree generation
- Provides an interface for AST manipulation (through the Visitor pattern)
- Variable assignment
- Functions
- If statements with conditions and equality operators : == >= <= > <
- Multiple conditions with || and &&
- Support for other primitive types (strings, booleans)
- Other assignement operators (+= -= *= /=)