Minifuck

From Esolang
Jump to: navigation, 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

<[<.[<.


See Also