Project / BFCompiler

BFCompiler

Brainfuck toolchain with interpretation, transpilation, assembly generation, and executable output.

Compiler / Toolchain / Backend

A full toolchain built around a minimal language.

The repository covers the path from Brainfuck source code to interpretation, C output, x86-64 assembly, and standalone Windows executables.

Language
C++17
License
MIT
Platform
Windows AMD64
Targets
C / ASM / PE

Overview

BFCompiler treats Brainfuck as a serious compilation target rather than a single-mode interpreter project.

It combines frontend processing with several output paths inside one repository.

Capabilities

  • Interpret Brainfuck programs directly.
  • Transpile Brainfuck source to C.
  • Generate x86-64 assembly output.
  • Produce standalone Windows PE executables.

Multiple Modes

Interpreter, transpiler, and compiler paths are all part of the same project.

Frontend Work

Instruction folding and loop handling are treated as part of the pipeline.

Concrete Outputs

The backend reaches assembly and executable generation, not only intermediate forms.