CHIQRSX9+

From Esolang
Jump to navigation Jump to search

CHIQRSX9+ is a supposedly Turing-complete extension to HQ9+ designed by Ørjan Johansen in April 2002. It implements the following commands:

Command Description
C Copies input to output.
H Prints "Hello, world!"
I Interprets input as program source.
Q Prints the program source code.
R Encrypts input with ROT-13.
S Sorts input lines.
X Makes the programming language Turing-complete. How this is supposed to be achieved is not clearly specified. The original interpretation just randomly adds a number to each letter and runs a perl. The updated one by User:ChristopherPeart adds 7 to each char then runs as perl making it TC and ruining the joke.
9 Prints the lyrics to "99 Bottles of Beer on the Wall."
+ Increments the accumulator.

Examples

Hello, world!

 H

99 Bottles of Beer

9

Cat

 C

CHIQRSX9+ Interpreter

 I

Quine

 Q

External resources