Compiling the grammar
Compiling the grammar is easy to do:
$ parrot pgc.pir simple.pg >simple.pir
The simple.pir file contains the Parrot subroutines corresponding to the rules of the grammar.
Parrot/PGE, parsers | Parsers, Perl 6 Rules, and the Parrot Grammar Engine | #10 |
Compiling the grammar is easy to do:
$ parrot pgc.pir simple.pg >simple.pir
The simple.pir file contains the Parrot subroutines corresponding to the rules of the grammar.
Copyright © 2006 Patrick Michaud |