Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 839 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 839 Bytes

Brain Fuck CPP Compiler

Similar to my previous BrainFuck Compiler, gets a file with brainfuck code written in it, compiles it, and either outputs the assembly file or assembles it to a binary. However, this time, implemented int C++.

Clone or download the repository & install package

Download the repository and run:

make install

Usage

Run the command

bfcc -h

And it will output the usage:

Usage: bfcc [options] input-file

Options:
  -h [ --help ]                  Print help messages
  -S [ --assembly ]              Output assembly file instead of binary file
  -t [ --tape-size ] arg (=4000) Tape size of brainfuck program
  -i [ --input-file ] arg        Input Files
  -o [ --output-file ] arg       Name of the output file

Enjoy!