Thursday, February 09, 2017
Piet is a language that interprets graphic files as source code.
This is “Hello World” in Piet:
It could also be written this way:
Piet is an esoteric language that interprets graphic files as source code. Each block of color is interpreted according to its hue, its brightness, and its size. There’s nothing missing in either of these examples; there’s no written code hiding behind the pictures. If you load either of these graphics into a Piet interpreter, you’ll get the console output “Hello World”.
It runs a Stack based machine code similar to the Java JVM Virtual Machine so it should possible to compile real code in to these and run them.