YAPC::NA 2007

June 25-27, Houston, TX

Parrot Compiler Tools

Parrot Compiler Tools

By Patrick Michaud (‎Pm‎) from DFW.pm
Date: Monday, June 25, 2007 04:05 PM
Duration: 50 minutes
Language:


The Parrot compiler tools have evolved greatly over the past couple of years, and are now being used extensively for building compilers on Parrot, including implementations of Perl 6, Python, PHP, Perl 1, APL, and others.

This talk presents the tools and techniques that are successfully being used to build compilers in Parrot. The talk includes coverage of PGE, the parser grammar engine; TGE, the tree grammar engine, and the common, generalized abstract syntax tree representation for dynamic languages. These tools have made it possible to quickly build working compilers from language definitions -- for example, a simple Python compiler (pynie) was created in less than a day using these tools.