NAME ^

PAST::Compiler - PAST Compiler

DESCRIPTION ^

PAST::Compiler implements a basic compiler for PAST nodes. By default PAST::Compiler transforms a PAST tree into POST, and then invokes POST::Compiler on the resulting POST tree.

compile(node, ['target'=>target, ...])

Compile the abstract syntax tree given by past into the form given by target. Current targets include "past", "post", "pir"; if no target is supplied then the abstract syntax tree is compiled to executable code (but not executed).

AUTHOR ^

Patrick Michaud <pmichaud@pobox.com> is the author and maintainer. Please send patches and suggestions to the Parrot porters or Perl 6 compilers mailing lists.

HISTORY ^

2006-11-20 Patrick Michaud added first draft of POD documentation. 2006-11-27 Significant refactor into separate modules.

COPYRIGHT ^

Copyright (C) 2006, The Perl Foundation.


parrot