Brainbrain

From Esolang
Jump to navigation Jump to search

Brainbrain is a compiler language invented by User:TehZ, based on brainfuck. Every brainbrain-program is a brainfuck-program which takes the source to be compiled as input, and outputs the compiled source (as brainfuck (or brainbrain) code).

Examples

Brainfuck compiler:

,[.,]

The simplest brainfuck compiler ever. (note that if this program is run using a brainfuck interpreter, it is a cat program)

See also

  • feels weirdly dual to this.