Pegex::Module - Base Class for Pegex Grammar Interface Modules
package MyLanguage; use Pegex::Base; extends 'Pegex::Module'; has grammar => 'MyLanguage::Grammar'; has receiver => 'MyLanguage::AST'; 1;
The module in the SYNOPSIS above is a complete language parsing module. It just inherits from Pegex::Module, and then overrides the
receiver properties. Pegex::Module provides the
Ingy döt Net <firstname.lastname@example.org>
Copyright (c) 2011, 2012. Ingy döt Net.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.