Brainstuck

From Esolang

Jump to: navigation, search

Brainstuck is a variation of Brainfuck. The differences are:

  • < and > commands do not exist
  • . command decrements pointer after output
  • , command increments pointer before input
  • 0 command increment pointer then set to zero
  •  : command will set value according to value pointed by: value at pointer - current value - 1
  • [ command decrement pointer after check to see whether or not it is zero

[edit] Examples

Echo:

0+[,0:.+]

[edit] External resources

Personal tools