Minifuck

From Esolang
Jump to navigation Jump to search

Minifuck is a very minimalistic version of Brainfuck, made by User:Wh1teWolf. It has only 3 instructions and uses an right-infinite tape of binary bits as storage. It should be turing-complete.


Commands

  • <: Same as Brainfuck
  • .: Move to next bit and invert it and output letter stored in first 8 bits, if none then input
  • [: Move to next bit and invert it, skip next instruction and invert next bit if zero


Examples

Cat

<[<.[<.

Implementations

A Python interpreter by User:Bangyen.

See Also