Skip to content
x86_64 brainfuck compiler
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples
.gitignore
Makefile
README.md
UNLICENSE
bf-x86.c

README.md

x86_64 Brainfuck Compiler

bf-x86 compiles brainfuck programs directly into tiny, position-independent x86_64 Linux ELF programs. The resulting ELF doesn't link to any standard libraries, instead making raw syscalls. It can optionally execute the compiled program directly in memory like a JIT-compiler.

The compiler employs a peephole optimizer to produce compiled programs that run quickly and efficiently.

Usage

$ bf-x86 -o hello hello.bf
$ ./hello
Hello, world!

Additional Resources

You can’t perform that action at this time.