Or, as PIR:
$ ./parrot abc.pbc --target=pir > 3 + 5 .sub "_block10" new $P11, .Integer assign $P11, 3 new $P12, .Integer assign $P12, 5 new $P13, .Undef add $P13, $P11, $P12 say $P13 .return ($P13) .end
Parrot Compiler Tools | Running Your Programming Language on Parrot | #29 |
$ ./parrot abc.pbc --target=pir > 3 + 5 .sub "_block10" new $P11, .Integer assign $P11, 3 new $P12, .Integer assign $P12, 5 new $P13, .Undef add $P13, $P11, $P12 say $P13 .return ($P13) .end
Copyright © 2007 chromatic and Patrick Michaud |