Sneak peek: transformation rules using NQP #2
method statement($/, $key) { return PAST::Op.new( $($/[0]), $($/[1]), node => $/, pirop => 'add', ) }
Parrot Compiler Tools | Running Your Programming Language on Parrot | #45 |
method statement($/, $key) { return PAST::Op.new( $($/[0]), $($/[1]), node => $/, pirop => 'add', ) }
Copyright © 2007 chromatic and Patrick Michaud |