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 Cardinal::PAST::Node -- see lib/CPAST.pir

METHODS ^

Cardinal::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.

Cardinal::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