HAPPA

From Esolang
Jump to navigation Jump to search
HAPPA
Designed by User:RixTheTyrunt
Appeared in 2025
Dimensions Two-dimensional
Computational class Unknown
Reference implementation https://github.com/RixInGithub/HAPPA/blob/main/happa.txt
File extension(s) .hpa
This is still a work in progress. It may be changed in the future.

HAPPA (Heinous Awful Programming Project for All) is a 2D esolang in which you control a "buggy". In HAPPA, you can configure where the "buggy" starts, the horizontal velocity (going left/right) but NOT the horizontal velocity (up/down, default is always down).

It is sort of like Befunge, however the "buggy" only moves diagonally. (left-down, right-down, left-up, right-up)

HAPPA documentation is available here.

Examples

NOTE: these examples work even without the #

"Hello, world!"

H
 ~H
 e`
   ~l
   l`
     ~o
     ,`
       ~  <= that is a space
       w`
         ~o
         r`
           ~l
           d`
             ~!
              #

Since HAPPA only has one "buggy", ~H will not spawn another buggy.

XKCD Random Number

H
 ~4
  #

Alternatively shorter version (without #)

H
4`