Esotope Brainfuck Compiler

Esotope Brainfuck Compiler (aka esotope-bfc) is an optimizing Brainfuck-to-C compiler. It is arguably the best Brainfuck-to-C compiler ever, utilizing many optimization passes not found in the most other compilers.

The power of esotope-bfc can be explained with an example: the following Brainfuck program prints "Hello, world!":

>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.

And the following C code is translated from Brainfuck program by esotope-bfc (rev 7be42beabad4, 2009-05-09):

/* generated by esotope-bfc */
#include <stdio.h>
#include <stdint.h>
#define PUTS(s) fwrite(s, 1, sizeof(s)-1, stdout)
static uint8_t m[30000], *p = m;
int main(void) {
    PUTS("Hello World!");
    return 0;
}

See the official page for more information.


(rev 6ae2231d7a62)