/bf

Brainfuck Interpreter written in C

Primary LanguageC

Brainfuck Compiler written in C

Implemented Brainfuck according to this spec.

Usage:

mkdir build
gcc -o build/bf bf.c
./build/bf fibbonacci.bf

Note:

I have modified the output instruction to be two different instructions instead of just one.

Output to stdout as an ASCII character: .
Output to stdout as a Decimal: :

Fibbonacci Example

>+
[
[->+>+<<]
>>[-<<+>>]
<<<[->>+<<]>>:
>++++++++++.----------<
]