Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fuckasm

An optimised Brainfuck to 64-bit x86-64 NASM compiler written in Rust.

Usage

fuckasm <INPUT> [-o OUTPUT]

  • <INPUT>: Path to Brainfuck source file.
  • OUTPUT: Optional. Specify the output assembly file name. Defaults to '.asm'.

Demos

Some example Brainfuck programs are available in the /demos directory.

Assembling

After generating the assembly file, you can assemble and run it on Linux:

nasm -f elf64 hello.asm -o hello.o
ld hello.o -o hello
./hello

Licence

Apache License 2.0

About

An optimized Brainfuck to 64-bit x86-64 NASM compiler written in Rust.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages