Skip to content

dward/bf2asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

bf2asm

Brainfuck to amd64 assembly compiler

The compiler is written in Go (http://www.golang.com/). This is an experiment to parse brainfuck into an AST, optimize, and then dump out as amd64.

Usage:

go build

./bf2asm <file.b> > run.asm

nasm -f elf64 -o run.o run.asm

ld run.o -o run

About

Brainfuck to amd64 assembly compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages