Skip to content

skeeto/bf-x86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

x86_64 brainfuck compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published