Brainfuck

From BusyBeaverWiki
Revision as of 07:58, 11 February 2026 by Azerty (talk | contribs) (Added some informations about how bf works.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Brainfuck is a Turing complete language invented by Urban Muller.

Brainfuck operates on an array of memory cells, each initially set to zero. In the original implementation, the array was 30,000 cells long and each cell values would be limited to numbers from 0 to 255, but this may not be part of the language specification. A braincuk program can work with different, and sometimes unbounded, array length and cells size.

Like in a Turing machine, there is a pointer, initially pointing to the first memory cell.

Programs are composed of commands, represented with symbols. The commands are:

TODO


[page under construction]