HeacunQ9+×

From Esolang
Jump to navigation Jump to search

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

Commands

  1. H - Print “Hello, World!”.
  2. E - Execute the function.
  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.

Programs

Truth-machine

C-1CUAUEA×U

Cat program

AC-1CNNEAE

Quine

Q

Hello, world!

H