Difference between revisions 79877243 and 84603278 on enwiki

'''HQ9+''' is a [[joke programming language]] created by [[Cliff Biffle]] that consists of only four [[command (computing)|commands]], each represented by a single character: H, Q, 9, and +.  It is not [[Turing-complete]], but it is highly efficient at certain types of [[computer program|programs]].

* The <code>H</code> command prints out [[Hello world program|"Hello, world!"]]
* The <code>Q</code> command prints out a copy of the [[source code]] of the program (i.e., it's a [[quine (computing)|quine]]).
* The <code>9</code> command prints out the lyrics for "[[99 Bottles of Beer|99 Bottles of Beer on the Wall]]".
* The <code>+</code> command increments the [[Accumulator (computing)|accumulator]], which happens to serve no purpose.

An example '''HQ9+''' program would be:  <code>HHQ+HQ++</code>.

(contracted; show full)[[Category:Esoteric programming languages]]

[[cs:HQ9+]]
[[es:HQ9+]]
[[it:HQ9+]]
[[ja:HQ9+]]
[[ko:HQ9+]]
[[pl:HQ9+]]