Q!?

From Esolang
Jump to navigation Jump to search

Q!? is a 2D minimal turing complete language made by User:↑.

Commands
Command What it does
^ Moves execution up.
v Moves execution down.
< Moves execution to the left.
> Moves execution to the right.
g Goes back the amount of squares specified on the second topmost value of the stack if the topmost value of the stack is not greater than the third topmost value of the stack.
p Outputs the topmost value of the stack.
X Endpoint.
+ Adds.
- Subtracts.

You can switch value pointer position depending on the X axis of the execution pointer. Execution at start is defaulted to down.

Turing completeness

It is Turing complete because it can:

  • store values and retrieve them
  • perform basic arithmetic
  • have a loop that can be unbounded