Queuenanimous

From Esolang
Jump to navigation Jump to search

Queuenanimous is an esolang by User:PythonshellDebugwindow.

Memory model

Queuenanimous uses an unbounded queue of unbounded signed integers.

Syntax

Like in brainfuck, each character of the program represents one command.

Commands

Dequeuing from an empty queue returns zero.

Command Effect
0 Enqueue zero
+ Dequeue N, enqueue N + 1
- Dequeue N, enqueue N - 1
> Dequeue N, enqueue N
[P] While loop: at each iteration, dequeue N, and break if N is zero; else run P and jump back to the start of this loop, dequeue N again, and so on

Computational class

Queuenanimous's computational class is unknown.

External resources