This project contains an interpreter and an LLVM IR transpiler for Brainfuck.
- Go 1.20+ installed on your system
Clone the repository and build the executables:
git clone https://github.com/gabrielecabrini/brainfucker
cd brainfucker
go build -o brainfucker cmd/brainfucker/main.goRun the interpreter with a Brainfuck source file:
./brainfucker run path/to/program.bRun the transpiler to generate LLVM IR:
./brainfucker transpile path/to/program.bThe examples folder contains sample Brainfuck programs