Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 456 Bytes

File metadata and controls

24 lines (22 loc) · 456 Bytes

c-brainfuck-compiler

Brainfuck to Assembly complier written in C. It outputs an assembly file which is used to create an executable binary using nasm.

Dependencies

Install these if you dont have it already.

  • make
  • nasm
  • ld (from binutils)

Arch Linux

pacman -S make binutils nasm

Fedora

dnf install make binutils nasm

Demo

make
./bfc examples/hello-world.bf -o hello-world
./hello-world