A BrainF..k interpreter written in C language
- Compile the project:
$ mkdir build
$ cd build
$ cmake ..
$ make
- Just run the program with 3 arguments:
$ ./bf_runner.exe <file> [input] [output]
If you don't specify the input file, it will use stdin. Also, if you don't specify the output file, it will use stdout.
- See the output file. :)
$ ./bf_runner.exe bf_code.bf input.txt output.txt
The result in output.txt
will be:
Hello World!