
POST::Compiler - Compiler for POST trees

POST::Compiler defines a compiler that converts a POST tree into PIR or an Eval PMC (bytecode).

escape(string str)Returns an escaped value of str suitable for including in PIR.
If the string contains any non-ASCII characters,
then it's prefixed with 'unicode:'.
(This method just delegates to PAST::Compiler.escape,
which does the same thing.)
key_pir( string name1 [,
string name2,
...] )Constructs a PIR key using the strings passed as arguments.
For example,
key('Foo',
'Bar') returns ["Foo";"Bar"].
Return generated PIR for node and all of its children.
Return generated pir for any POST::Node.
Returns the generated pir of node's children.
Return pir for an operation node.
Generate a label.
Generate PIR for node,
storing the result into the compiler's $!code attribute and returning any code needed to look up the sub.

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.

2007-11-21 Significant refactor as part of Parrot Compiler Toolkit

Copyright (C) 2006-2008, Parrot Foundation.