brainfuck icon indicating copy to clipboard operation
brainfuck copied to clipboard

Brianfuck compiler and JIT runner

brainfuck

Brainfuck is an esoteric programming language noted for its extreme minimalism. It is a Turing tarpit, designed to challenge and amuse programmers, and was not made to be suitable for practical use. It was created in 1993 by Urban Müller.

The project contains a full-functional compiler and a JIT runner for the language.

Installation

Before installing the program, you'll need to install LLVM 3.1 or higher and a working C/C++ linker, Clang is recommended as GCC failed to link on some platforms.

Usage

  • bf is the JIT runner, which can run brainfuck program directly
  • bfc is the compiler, can be invoked as bfc [-o output] src, default output file name is a.out

Notes

You can find some Brainfuck programs under test directory

Have Fun.