Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 294 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 294 Bytes

Brainfuck Compiler

Compiles brainfuck programs to 32bit x86 nasm assembly

# compile
$ ./brainfuck -f examples/mandelbrot.bf -o mandelbrot.asm

# assemble
$ nasm -f elf32 mandelbrot.asm

# link
$ gcc -m32 -o mandelbrot mandelbrot.o

Demo