Brainf*ck

Brainfuck is an esoteric programming language created in 1993 by Urban Müller.

How it works: Despite having only 8 commands, Brainfuck is Turing complete and can compute anything. The visualization shows the memory tape and execution pointer as the program runs.

The 8 commands:

  • > Move pointer right
  • < Move pointer left
  • + Increment current cell
  • - Decrement current cell
  • . Output current cell as ASCII
  • , Input to current cell
  • [ Jump forward if cell is zero
  • ] Jump backward if cell is non-zero

Watch the memory cells change as the program executes. This demonstrates that complex computation can emerge from extremely simple rules.