Welcome to the Brainfuck Interpreter! This project is a graphical user interface (GUI) application that allows you to write and execute Brainfuck code easily. The interpreter supports basic Brainfuck operations and visualizes the state of memory during execution.
- Simple GUI: An intuitive interface for writing and executing Brainfuck code.
- Memory Visualization: Displays the state of memory cells being used.
- Input Handling: Supports user input for Brainfuck programs.
- Output Display: Shows the output generated by the Brainfuck program.
Make sure you have Java Development Kit (JDK) installed on your machine.
git clone https://github.com/LynnDelpy/brainfuck-interpreter.git
cd brainfuck-interpreterjavac *.java
java Main- Open the application.
- Write your Brainfuck code in the editor.
- Input any required data in the input field.
- Click the "Run" button to execute the code.
- View the output and memory state in the designated areas.
++++++++[>++++++>+++>+++>+<<<<-]>+++++.>+++++.>+++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>++++++++++.The project is organized into several classes:
BrainfuckInterpreter: Core logic for interpreting Brainfuck code.Memory: Manages the memory cells and their states.InputHandler: Handles input for the Brainfuck program.BrainfuckInterpreterGUI: Interface for the GUI components.SwingBrainfuckInterpreterGUI: Concrete Swing implementation of the GUI.Main: Entry point for the application.