Talk:Execute HQ9+: Difference between revisions
Content added Content deleted
(added language specs and a difference of "H" operation.) |
m (added header ~~~~) |
||
Line 1: | Line 1: | ||
==HQ9+ language specifications== |
|||
Since the "language" of HQ9+ isn't that long, why not just post the specifications (in the "task" part) ? |
|||
<br>[Especially considering how often links seem to be broken.] |
|||
<br> |
|||
:: H: display "hello, world" |
:: H: display "hello, world" |
||
:: Q: display the program's source code (a quine). |
:: Q: display the program's source code (a quine). |
||
:: 9: display the lyrics to song "99 Bottles of Beer" |
:: 9: display the lyrics to song "99 Bottles of Beer" |
||
:: +: increments the accumulator |
:: +: increments the accumulator |
||
Note that the "H" message isn't capitalized nor punctuated. |
Note that the "H" message isn't capitalized nor punctuated. |
||
<br>Another web site has "H" as "Hello, world!" |
<br>Another web site has "H" as "Hello, world!" |
Latest revision as of 07:59, 16 March 2012
HQ9+ language specifications
Since the "language" of HQ9+ isn't that long, why not just post the specifications (in the "task" part) ?
[Especially considering how often links seem to be broken.]
- 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)