https://github.com/aquice/brainpp
BrainPP is a Brainfuck interpreter made in C++.
https://github.com/aquice/brainpp
brainfuck cpp interpreter
Last synced: 25 days ago
JSON representation
BrainPP is a Brainfuck interpreter made in C++.
- Host: GitHub
- URL: https://github.com/aquice/brainpp
- Owner: AquIce
- License: mit
- Created: 2023-05-26T17:18:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-02T15:41:26.000Z (about 3 years ago)
- Last Synced: 2025-12-02T02:01:20.255Z (7 months ago)
- Topics: brainfuck, cpp, interpreter
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BrainPP
BrainPP is a Brainfuck interpreter made in C++.
## How To Use
1. Put `brainpp.cpp` and `brainpp.hpp` inside your code folder:

2. Include the `.hpp` file in your `main.cpp`:
```cpp
#include "brainpp.hpp"
```
3. Choose between the easy method and the full method
### Easy
```cpp
BrainPP::brainpp();
```
or
```cpp
BrainPP::brainpp(, true);
```
### Full
```cpp
BrainPP::BrainPP bp = BrainPP::BrainPP();
bp.run(, false);
```
or
```cpp
BrainPP::BrainPP bp = BrainPP::BrainPP();
bp.run(, true);
```
### Example
```cpp
#include "brainpp.hpp"
int main() {
BrainPP::BrainPP bp = BrainPP::BrainPP();
bp.run("Fibonacci.bf", true);
return 0;
}
```
This uses  as input