Skip to content

lemon32767/bf86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bf86

A brainfuck -> x86 compiler (linux only).

Build with make.

Usage

./bf86 "+[.+]" > a.out
chmod +x a.out
./a.out
# or 
./bf86 < test/hello.bf > a.out
chmod +x a.out
./a.out

Cells are 8-bit, with wrapping behaviour. 30720 cells are allocated. Moving the pointer outside of the bounds of the array will (most likely) cause a segmentation fault.

Behaviour of , on EOF is to leave the current cell unchanged.

About

brainfuck -> x86 compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published