From Esolang
Jump to navigation Jump to search

⫵ is a Zero Instruction Set Computer made by User:AmNow.

Command

⫵ has only one command: ⫵. It increments an 8-bit accumulator.
At the end of any ⫵ program something happens based on the accumulator.

  1. acc % 2 == 0 && acc < 10: Loop and output (ascii).
  2. acc % 2 == 1 && acc < 10: Loop and reset.
  3. acc == 255: Output (ascii) and end.
  4. acc % 2 == 1: Loop, Output (ascii) and reset.
  5. acc % 2 == 0: Loop.


It will do the first one that it sees true.

Programs

Spam #s to the console

⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵⫵

Implementation

C++ interpreter can be seen here