From Esolang
Jump to navigation Jump to search
“Hello World” in Piet.

Piet is an esoteric programming language in which programs look like abstract paintings. It uses 20 colors, of which 18 are related cyclically through a lightness cycle and a hue cycle. A single stack is used for data storage, together with some unusual operations.

Piet was invented by David Morgan-Mar and is named after geometric abstract art pioneer Piet Mondrian.

Computational class

If the stack is allowed to hold any arbitrarily long number then it's Turing-complete. There is a Brainfuck interpreter in Piet, and since Brainfuck is Turing-complete, that makes Piet also Turing-complete.

External resources