Parrot Opcode Syntax Tree (POST)
The abstract syntax tree is the desugared form of the Perl 6 code
The opcode syntax tree is the abstracted form of the underlying machine representation (Parrot opcodes)
Current Perl6::POST node types (definitely changing):
- Node - base class for POST nodes
- Val - Constant values
- Var - variables
- Sub - subroutine
- Op - a basic operation
- Ops - a sequence of Ops
- Label - a branch target
- Assign - assign a value to a variable