This code compiles brainfuck program (*.bf) to C program (*.c). To run the compiler, simply type swipl main.pl your_code.bf The C-code will appear in your_code.c