Skip to content

A JIT-Compiler for BrainF8ck in C, x86 Assembly

License

Notifications You must be signed in to change notification settings

xenitane/bf-jit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bf-jit

A simple jit compiler for BrainFuck with some additional commands

Inspiration

Who doesn't want to go ahead and make a programming language and that comes with further challenges, like writing a compiler, lsp, and other tooling around it. So to get started I just wanted to write a compiler for the programming language that reached a pinnacle, BrainFuck. With it's minimal instruction set it was pretty easy to write a compiler for it in plain old C and x86 assembly

Works only on x86 Unix systems

Quick Start

$ cc -o nob nob.c
$ nob ./examples/hello.bf

Examples

a-z

hello

References

About

A JIT-Compiler for BrainF8ck in C, x86 Assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published