We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

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