Piet::Interpreter 0.03 review
DownloadPiet::Interpreter is a Perl interpreter for the Piet programming language. SYNOPSIS use Piet::Interpreter; my $p = P
|
|
Piet::Interpreter is a Perl interpreter for the Piet programming language.
SYNOPSIS
use Piet::Interpreter;
my $p = Piet::Interpreter->new(image => 'my_code.gif');
$p->run;
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. The language is fully described at http://www.physics.usyd.edu.au/~mar/esoteric/piet.html. A Piet program is an image file, usually a gif, which uses a set of 20 colors and the transitions between blocks of those colors to define a series of instructions and program flow. See the above URL for more details. (Note: some sample programs there may not work, as they were constructed before a working interpreter was available.)
Since Piet is a visual language, an image parsing mechanism is required. This module uses Image::Magick, so it would be to your advantage to download, install, and test that module and its related stuff before trying to use this one.
Requirements:
Perl
Piet::Interpreter 0.03 search tags