calc example -- PAST output
$ make $ ./parrot calc.pbc --target=past > 3 + 4 "past" => PMC 'PAST::Op' { <name> => "say" [0] => PMC 'PAST::Op' { <pirop> => "n_add" [0] => PMC 'PAST::Val' { <value> => 3 } [1] => PMC 'PAST::Val' { <value> => 4 } } }
Parrot | Parrot Compiler Toolkit | #44 |
$ make $ ./parrot calc.pbc --target=past > 3 + 4 "past" => PMC 'PAST::Op' { <name> => "say" [0] => PMC 'PAST::Op' { <pirop> => "n_add" [0] => PMC 'PAST::Val' { <value> => 3 } [1] => PMC 'PAST::Val' { <value> => 4 } } }
Copyright © 2008 Patrick R. Michaud http://www.pmichaud.com/2008/pres/ |