Jump to content

Parser Grammar Engine

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Harmil (talk | contribs) at 20:41, 25 September 2006 (moved PGE (parrot) to Parrot Rule Engine: Should be named with the expansion). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Parrot Rule Engine or PGE is a compiler and runtime for Perl 6 rules for the Parrot virtual machine. PGE translates these rules directly into Parrot bytecode for eventual execution, unlike most virtual machines and runtimes which store regular expressions in a secondary internal format that is then interpreted at runtime. PGE can express any regular expression or formal grammar, and as such it can be used to implement the behavior of all of Parrot's front-end languages.