https://github.com/bemxio/mindbonk
A Brainfuck interpreter made in C++
https://github.com/bemxio/mindbonk
brainfuck brainfuck-interpreter brainfuck-language cpp interpreter
Last synced: over 1 year ago
JSON representation
A Brainfuck interpreter made in C++
- Host: GitHub
- URL: https://github.com/bemxio/mindbonk
- Owner: bemxio
- License: mit
- Created: 2021-12-16T17:46:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-30T21:30:30.000Z (over 4 years ago)
- Last Synced: 2025-01-16T03:15:47.387Z (over 1 year ago)
- Topics: brainfuck, brainfuck-interpreter, brainfuck-language, cpp, interpreter
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mindbonk
a brainfuck interpreter made in C++, with a live interpreter and running code from `stdin`.
## running
after compilation, just run:
```sh
./bin/brainfuck [-|file]
```
where `file` is the file to run, or `-` for stdin
## compiling
### with `make`
just run `sudo make` in the current active directory
### manually
compile `interpreter.cpp` and `main.cpp` to `bin/brainfuck` together
here's the way with `g++`: `g++ -std=c++11 -o bin/brainfuck interpreter.cpp main.cpp`
## contributing
feel free to contribute, if you want to!
to contribute, just fork the repository, make a branch, commit all your changes and make a pull request!
but please, use the following commit message format:
```
type(scope): description
```
where:
- `type` is the type of change you made (e.g. bug, feat, refactor, docs, etc.)
- `scope` are the files you are editing (e.g. pekofy, reactions, bot, etc.)
- `description` is a short description of the change (e.g. add a new status message)