Skip to content
/ F_CKu Public

A slightly optimizing brainf*ck interpreter in approx. 500 lines of x86-64 assembly (AT&T/GAS). Tested on Arch, Debian 9 & Windows LXSS Ubuntu. Obviously not portable.

License

Notifications You must be signed in to change notification settings

arslanmd/F_CKu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

F_CKμ

A slightly optimizing brainf*ck interpreter in approx. 500 lines of x86-64 assembly (AT&T/GAS). Tested on Arch, Debian 9 & Windows LXSS Ubuntu. Obviously not portable.

Compiling

$ gcc bf.s -o bf -no-pie 

If the command above doesn't work, try it without the no-pie flag.

Running

$ ./bf path_to_bf_program

Note: No errors will be printed. The interpreter will simply exit with code 1 if something goes wrong (e.g., unbalaced brackets). You can check the exit code using echo $?.

About

A slightly optimizing brainf*ck interpreter in approx. 500 lines of x86-64 assembly (AT&T/GAS). Tested on Arch, Debian 9 & Windows LXSS Ubuntu. Obviously not portable.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published