NAME ^

POST - A(nother) low-level opcode syntax tree.

DESCRIPTION ^

Compilers progress through various levels of tree representations of compilation of a source code program. POST (Parrot Opcode Syntax Tree) is a low-level tree which closely corresponds to the semantics of PIR/PASM.

The base class of POST is Perl6::PAST::Node -- see lib/PAST.pir

METHODS ^

Perl6::POST::Node::value()

Set or return the invocant's value. If no value has been previously set for this node, then we generate a unique PMC register (uninitialized) and use that.

Perl6::POST::Label::value()

Returns the value for this label. If one hasn't already been set, a new unique label is generated from the invocant's name and that is returned.


parrot