12 machine

From Esolang
Jump to navigation Jump to search

(NOTE: This page is user-editable, but do not add/remove commands, you can adjust the commands little but just make programs)

12 machine is a language with only the commands 1 and 2, based off Bitwise Cyclic Tag.

  • 1 goes 2 instructions forward if the end of the stack is 2, pushes 2 if it is 1.
  • 2 goes 1 instruction backward if the end of the stack is 1, pushes 1 if its 2.

Computational class

12 machine is a PDA.