|parrotcode: A high-level abstract syntax tree for Punie, Pheme and Parrot bc.|
|Contents | Compilers|
PAST - A high-level abstract syntax tree for Punie, Pheme and Parrot bc.
The Punie compiler progresses through two levels of syntax tree. PAST (Parrot/Punie Abstract Syntax Tree) is a high-level tree, which closely corresponds to the semantics of the language (though in a desugared form). The individual subclasses of Node implement the abstract syntax tree nodes created by a language compiler.