Jump to content

Piet (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by VillemVillemVillem (talk | contribs) at 14:02, 26 February 2010. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Piet program that prints 'Piet'
A "Hello World" program in Piet

Piet is an esoteric programming language designed by David Morgan-Mar, whose programs are bitmaps that look like abstract art. The compilation is guided by a "pointer" that moves around the image, from one continuous coloured region to the next. Variables are stored in memory as integers in a single stack. Most specified functions deal with operations on that stack, others with the rules by which the compilation pointer moves and with input/output. Piet was named after the Dutch painter Piet Mondriaan.