Punie
From Wikipedia, the free encyclopedia
Punie is a compiler created as a test case for the Parrot virtual machine. Its goal is to compile Perl v1 code and thereby exercise Parrot's compiler tools.
The project is championed by Allison Randal. She reports that "Punie currently only parses and compiles the single statement to print a single digit". However, according to her journal, it can now handle simple conditionals and statements involving operator precedence. For example, the following statement currently parses and compiles correctly:
if (42 + 11) {
print 1 - 2, "\n", 7 - 1, "\n";
}
The name Punie is a pun on the Ponie project (an implementation of Perl 5 running on Parrot), on "uni" meaning "1" (Perl 1), and on "puny" meaning something small. The name was first suggested for an implementation of Perl 1 on Parrot by Allison Randal and chromatic in a late-night hacking session in August 2003. It narrowly missed being named Penie.