Do the nqp PIR result the same as the PGE PIR result?

Gerd Pokorra gp at zimt.uni-siegen.de
Sun Feb 6 07:03:16 UTC 2011


During the parrot build the following command will be executed:

./parrot runtime/parrot/library/PGE/Perl6Grammar.pbc
--output=compilers/data_json/data_json/grammar.pir
compilers/data_json/data_json/grammar.pg


If I comment out line 21 for the file
"compilers/data_json/data_json/grammar.pg" like this:

#  | <?PGE::Util::die 'not a valid JSON value'>

I could generate the PIR file with the command:

parrot-nqp --target=PIR ...


Would the file generated with "parrot-nqp" do the same things like the
PIR file generate with the original command? Would the one out commented
line case the only litte exception or would there be more differences by
using the PIR code from the two different commands?

-- Gerd




More information about the parrot-dev mailing list