An optimised Brainfuck to 64-bit x86-64 NASM compiler written in Rust.
fuckasm <INPUT> [-o OUTPUT]
<INPUT>: Path to Brainfuck source file.OUTPUT: Optional. Specify the output assembly file name. Defaults to '.asm'.
Some example Brainfuck programs are available in the /demos directory.
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