Qey Demo

From Esolang
Jump to navigation Jump to search

Qey Demo is an Esoteric programming language created by User:Buckets in 2024.

Qey's Ruleset:

It has 32-bit signed Integers.

Commands Instructions
> Dequeue an integer from the front of the queue Into The register, If the Queue is Empty Set the Register to 0.
< Enqueue the current value of The Register to the back of the Queue.
+ +1 on The Register and It will Overflow/Underflow.
- -1 on The Register and It will Overflow/Underflow.
? If The Register = 0, It will Skip the next Command.
! Output the current value of The Register in ASCII.
# Output the current value of The Register as a Number.
~ Set the Register as the Input in an ASCII number.
@ Swap the front of the queue with The Register, If it is Empty, Set The Register to 0.
^n Go back n Commands.

Qey Demo's Ruleset:

Nothing.

Here's how Qey Demo works:

It will Print "Welcome To Qey Demo, To Fully Use Qey, Please Pay."

If Given an input X, it will Print The input X on the next line Then It will Print a line feed then go back to the start.

Here is An interpreter for Qey Demo in brainfuck:

+[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++.+++++++.---------.++++++++++++.--.--------.--------------------------------------------------------------------
-.++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++.------------------------------------------------------------------------------
-.+++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++.++++++++++++++++++++.-----------------------------------------------------------------------------------------.++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++++++++.++++++++.++.-------------------------------------------------------------------.-----------
-.++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++.------------------------------------------------------------------------------
-.++++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++++++++++++++++++++++.---------..+++++++++++++.----------------------------------------------------------------------------------------
-.+++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++.--------------.--------------------------------------------------------------------
-.+++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++.++++++++++++++++++++.-----------------------------------------------------------------------------.------------.++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++.-------.----.++++++++++++++++++.--------------.--------------------------------------------------------------------
-.++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++.++++++++++++++++++++++++.---------------------------------------------------------------------------.------------------------------------.[-],[.,][-]++++++++++.[-]+]