HeacunQ9+×

From Esolang
Jump to navigation Jump to search

HeacunQ9+× is an esoteric programming language derived from HQ9+, and was made by AmNow.

Commands

Number Command Description
1. H Print the message “Hello, World!”.
2. E Execute the most recently set function, if such is defined.
3. A Initiate a new function containing the contents between A and the next A, if there already is a function defined, override it.
4. C Take the math expression from this C to the next C, evaluate it, and set it to the accumulator.
5. U If the accumulator is -1, input the accumulator with a number, else output it as a number.
6. N Like U, but with ASCII characters and not numbers.
7. Q Print the program source code.
8. 9 Print the lyrics to “99 Bottles Of Beer On The Wall”.
9. + Increment the accumulator by 1.
10. × E, but only if the accumulator is a truthy value, that is, not equal to 0.

Programs

Truth-machine

C-1CUAUEA×U

Cat program

AC-1CNNEAE

Quine

Q

Hello, world!

H

Interpreter

  • Common Lisp implementation of the HeacunQ9+× programming language.