Hi,

welcome to the npiet pages, related to the piet programming language:

``a language where the programs are works of modern art''.

Piet is really esoteric, because the program is a picture.

In this stack oriented language the color areas represent numbers and changes in the color decide what to do - eg. push the number on the stack and the next color change may command: print it to the terminal.

npiet is an interpreter for piet programs and takes as input a portable pixmap (a ppm file) and since v0.3a png and gif files too - other formats may follow.

  • latest complete source code of npiet, npietedit and npiet-foogol (and manpages, examples and tests) npiet-1.0a.tar.gz.


npietedit is a editor to create small piet programs. it's really helpful to get in touch with the piet programming language.


npiet-foogol is a translator from the foogol programming language to the piet programming language. It is far from complete, but as a start a Hello World is correctly translated.



And don't miss the picture gallery - where the Art-Of-Programming needs a color printer ;-)



See also:

- the Piet programming language
- links related to Piet Mondrian
- the Piet::Interpreter of Marc Majcher
- the foogol programming language (there is a link to the cfoogol posting too).


This program prints Hi
- look here for a trace of the run.


have fun!



Mon Aug 9 00:36:43 CEST 2004