| parrotcode: Untitled | |
| Contents | Language Implementations | Perl6 |
KEY attribute of the parse tree node).if or unless statement,
including any else and elsif blocks.
From the grammar we know that there must be an equal number of expressions and blocks,
except if there's an else clause then there will be an extra block.
So,
we just unwrap the expression+block pairs into conditional PAST::Op nodes.
|
|
|