Parrot Compiler Tools Parrot Compiler Tools #45

Sneak peek: transformation rules using NQP #2

method statement($/, $key) {
    return PAST::Op.new( $($/[0]), $($/[1]),
                         node => $/,
                         pirop => 'add',
                       )
}
Copyright © 2007 Patrick Michaud