The Nomsu Programming Language

The homepage of the Nomsu programming language.

Nomsu is an easy-to-read programming language that’s good at modifying its own rules on the fly. It cross-compiles to efficient Lua code and interoperates easily with Lua. Nomsu was inspired by the game Nomic. You can learn more about Nomsu here.

Learn More

Sample Nomsu Code

(sing $n bottles of beer) means:
    for $i in ($n to 1 by -1):
        $s = ("" if ($i == 1) else "s")
        say ("
            \$i bottle\$s of beer on the wall,
            \$i bottle\$s of beer!
            Take one down, pass it around...
        ")
    say "No more bottles of beer on the wall."

sing 99 bottles of beer