HQ9+2D

From Esolang
(Redirected from HQ9 2D)
Jump to: navigation, 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.