The Brainfuck Programming LanguagePublished on 01 November 2018 (Updated: 02 May 2020)
According to Wikipedia, Brainfuck is an esoteric programming language created in 1992, and notable for its extreme minimalism. As people have implemented more and more ridiculous programs with the language, it has become relatively well-known over the years. Nowadays some see it as the ultimate coding challenge to create something useful in Brainfuck.
At the core of the language is a more-than-compact instruction set, comprising
of a whopping eight instructions. Brainfuck uses a machine model consisting of
an infinite list of one-byte cells, an instruction pointer, and a cell pointer.
The instructions can be used to interact with this environment:
move the cell pointer,
- increment or decrement the value of the cell
at the current pointer, and
] denote a loop.
A loop only starts when the value of the current cell is non-zero, otherwise
execution jumps to the end of the loop. Likewise, a loop ends when the value is
zero, otherwise the program jumps to the beginning of the loop. The remaining
. read one character from the input into the current
cell and write one character from the current cell to the output, respectively.
- Hello World in Brainfuck on 01 November 2018 by Christoph Böhmwalder
- Hello World in Brainfuck on The Renegade Code