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 } } }
Perl 6 on Parrot | Rakudo Perl - Perl 6 on Parrot | #40 |
$ 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 Michaud |