From Esolang
Jump to navigation Jump to search

HQ9+2D is an extension of HQ9+ by Kenner Gordon. It has an instruction pointer which starts at the first byte of the program, moving east. It has the following commands:

Command Description
H Print "Hello, world!"
Q Print the source code of the program.
9 Print the lyrics to "99 Bottles of Beer on the Wall".
+ Increment the instruction counter.
> Move east.
< Move west.
^ Move north.
v Move south.