🕳️Q9+

From Esolang
Jump to navigation Jump to search

🕳️Q9+ is a joke language created by User:Hotcrystal0. It is 🕳️ and HQ9+ combined with a couple of additional commands, improved readability, and ASCII support.

Commands

🕳️Q9+ has these commands:

Command Description Derived from
🕳️ or o Get user input and output the input. 🕳️
or ! Get user input in string form and return it. 🕳️
⚠️[input] or ^[input] Reverse input and return it. 🕳️
❓[input] or ?[input] Output input. 🕳️
{code} Repeat code forever. 🕳️
n{code} Repeat code n times. original
H or h Output “Hello, world!”. HQ9+
Q or q Output the program’s source code. HQ9+
9 Output the lyrics to 99 Bottles of Beer. HQ9+
+ Increment the accumulator. HQ9+
a Get the value of the accumulator as an integer. original

Any line not starting with a valid command is a no-op.

The accumulator starts at 0. Strings are enclosed in double quotation marks, with 下 for a newline. Backslash (\) is used for escaping double quotation marks and 下. Integers are enclosed in parentheses. Inputs can also have the accumulator (with a). If it is a string input, it will be parsed as a string.

Examples

Hello, world! 1

H

Hello, world! 2

❓["Hello, World!"]

Quine

Q

Cat program 1

🕳️

Cat program 2

❓[❗️]

99 bottles of beer

9

XKCD Random Number 1

Chosen by fair dice roll.
Guaranteed to be random.
❓[(4)]

XKCD Random Number 2

Chosen by fair dice roll.
Guaranteed to be random.
++++❓[a]

See also

坑Q9+