robsite

DM's Esoteric Programming Languages - HQ9++

HQ9++ has four syntax elements:

  • H Prints "Hello, world!".
  • Q Prints the entire text of the source code file.
  • 9 Prints the complete canonical lyrics to "99 Bottles of Beer on the Wall".
  • + Increments the accumulator.
  • ++ When the sequence ++ is encountered, it (naturally) increments the accumulator twice, and also instantiates an object of a new subclass of the generic superclass. In line with the best data-hiding principles, there is no way to access this object.
· :D, esoteric programming ·
Mastodon