A home made brainfuck compiler for MacOS (tested on Mojave).
Brainfuck is an esoteric programming language. It's a very simple language (there is only 8 instructions) but hard to decode for an human. You can learn more about brainfuck by following this link : https://en.wikipedia.org/wiki/Brainfuck
- Clone the project
- Make it
- Run it with ./bfc <source_file> [-o <output_file>]
- Enjoy your fully compiled program !
- BFC read your source file and write a temporary assembly file
- Next, it call nasm to make object file
- Finally, it call ld to link the object in an executable file
The instruction ,
(to get a char from stdin) isn't implemented yet and will be see as comment