piet demo

Piet is a stack-based language in which programs are represented as images. A pointer travels in two dimensions across the image. When it moves between two regions of different color it executes a command based on the difference in their hue/lightness.

This interpreter can (mostly) faithfully execute programs to the language spec. Aside from general cleanup, I'd really like to play around with wasm-pack and build a web-based frontend for it.

Example programs can be found here.