Talk:Execute HQ9+

From Rosetta Code
Revision as of 07:54, 16 March 2012 by rosettacode>Gerard Schildberger (added language specs and a difference of "H" operation.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Since the "language" of HQ9+ isn't that long, why not just post the specifications?

H: display "hello, world"
Q: display the program's source code (a quine).
9: display the lyrics to song "99 Bottles of Beer"
+: increments the accumulator

Note that the "H" message isn't capitalized nor punctuated.
Another web site has "H" as "Hello, world!"
So, perhaps the monitor could make a call on "H" code.
Gerard Schildberger 07:54, 16 March 2012 (UTC)