### piet prime tester

18 April 2010

Woot! I got an example into DM's Esoteric Programming Languages example page for Piet (look for my name in the page).

It's actually nice to find it, since I've long since lost the PNG and was recently attempting to track down this (reasonably laborious) graphic.

For the record: Piet is an awesome programming language, and using it really makes you think about what you're coding.

Believe it or not, this checks the "primeness" of a number

If you're interested in checking it out, go grab an interpreter and run it for yourself; debug mode will be your friend. For the life of me, I don't remember the mechanism, but if I had to guess, I'd say it probably brute-forces the mess.

Included $$\LaTeX$$ graphics are generated at LaTeX to png or by .

### comments

there are no comments on this post