Yet Another Brainfuck Interpreter
- CMake >= 3.12
- C++14 compatible compiler
- git
$ git clone https://github.com/wtlgo/brainfuck.git
$ mkdir brainfuck/build && cd brainfuck/build
$ cmake ..
$ cmake --build .
$ cmake --install .
$ ./bf --help
Brainfuck interpreter by wtlgo
https://github.com/wtlgo/brainfuck.git
Flags:
-s [filename] Specify source file.
-c [code] Specify source via command line.
-i [filename] Input file. If not specified, stdin is used.
-o [filename] Output file. If not specified stdout is used.
--infinite-tape Make tape infinite. By default limited to 3000 cells.
--wrapped-tape Make tape wrapped. Not wrapped by default.
--signed-cells Make cells signed. Unsigned by default.
--unwrapped-cells Make cells unwrapped. Wrapped by default.
--comments Enable C-style comments. Disabled by default.
--help This page.