flâneur — a map of the web's best reading

DM's Esoteric Programming Languages - Piet

dangermouse.net · 2,296 words · saved by 1 readers

Piet is a programming language in which programs look like abstract paintings. The language is named after Piet Mondrian, who pioneered the field of geometric abstract art. I would have liked to call the language Mondrian, but someone beat me to it with a rather mundane-looking scripting language. Oh well, we can't all be esoteric language writers I suppose. Notes: Piet uses 20 distinct colours, as shown in the table at right. The 18 colours in the first 3 rows of the table are related cyclically in the following two ways: Note that "light" is considered to be one step "darker" than "dark", and vice versa. White and black do not fall into either cycle. Additional colours (such as orange, brown) may be used, though their effect is implementation-dependent. In the simplest case, non-standard colours are treated by the language interpreter as the same as white, so may be used freely wherever white is used. (Another possibility is that they are treated the same as black.) Piet code takes t

DM's Esoteric Programming Languages - Piet Piet Composition with Red, Yellow and Blue . 1921, Piet Mondrian. Introduction Piet is a programming language in which programs look like abstract paintings. The language is named after Piet Mondrian , who pioneered the field of geometric abstract art. I would have liked to call the language Mondrian, but someone beat me to it with a rather mundane-looking scripting language. Oh well, we can't all be esoteric language writers I suppose. Notes: I wrote the Piet specification a long time ago, and the language has taken on a bit of a life of its own, wit

Explore this link on the map →

saved by

related reading