Invoke with:
python compile_brainfuck_to.py language myprogram.bf > myprogram.ext
Replace language with the target language and 'ext' by the appropriate extension.
Run:
python compile_brainfuck_to.py
to see a list of target languages.
as --64 -g --gstabs+ -o myprogram.o myprogram.asm && ld -o myprogram myprogram.o
g++ -Ofast -fomit-frame-pointer -march=native myprogram.cpp
javac myprogram.java
This produces a "BrainfuckProgram.class"-file which can be executed by:
java BrainfuckProgram
pdpy11 myprogram.asm -o myprogram.raw
Pdpy11 (the assembler) can be obtained from https://github.com/pdpy11/pdpy11
rustc -C opt-level=3 program.rs
In Solaris:
as -Q n -b -L myprogram.s
ld a.out -o myprogram
./myprogram
(C) 2016-2024 by [email protected]