Perl 6 Compiler Perl 6 Compiler Status and the Parrot Compiler Toolkit #30

Abstract Syntax Tree (PAST)

Once we have a parse tree, we convert it to an abstract syntax tree.

An abstract syntax tree is a de-sugared form of the program code.

Currently there are at least three separate implementations of "PAST" in Parrot:

The separate implementations simply reflect compilers that were started at different phases of compiler tool development.

Eventually they'll be unified -- we're still exploring the design space.

Copyright © 2006 Patrick Michaud