=encoding utf8

=head1 NAME

Pegex::Module - Base Class for Pegex Grammar Interface Modules

=head1 SYNOPSIS

    package MyLanguage;
    use Pegex::Base;
    extends 'Pegex::Module';

    has grammar => 'MyLanguage::Grammar';
    has receiver => 'MyLanguage::AST';

    1;

=head1 DESCRIPTION

The module in the SYNOPSIS above is a complete language parsing module. It just
inherits from L<Pegex::Module>, and then overrides the C<grammar> and
C<receiver> properties. L<Pegex::Module> provides the C<parse()> method.

=head1 AUTHOR

Ingy döt Net <ingy@cpan.org>

=head1 COPYRIGHT AND LICENSE

Copyright (c) 2011, 2012, 2013, 2014. Ingy döt Net.

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

=cut
