Brainfuck code generation

This article presents known methods for representing brainfuck code in more readable forms and for generating brainfuck code from other languages.

Many schemes for representing and/or generating brainfuck code exist. They range from simple substitution macros to compilers from other languages. This page gathers a listing of such schemes together in one place.

Macro systems

 * BrainClub
 * eso_bfm
 * The classic mandelbrot BF program was created using cpp as a macro compiler
 * bfmacro

Languages that compile to brainfuck

 * BFBASIC
 * C2BF
 * FuckBrainfuck
 * libbf contains a compiler from C to brainfuck
 * TBF
 * EBF-compiler - An extension to BF where the compiler is written in itself (bootstrapped)
 * bfcomp

Other

 * Frans Faase's Brainfuck interpreter in Brainfuck was generated using this C program
 * Using Artificial Intelligence to Write Self-Modifying/Improving Programs generates Brainfuck by using a genetic algorithm in C#