Go to file
openkylin-cibot 0022e28946 Re-upload. 2024-07-09 06:30:26 +00:00
debian Re-upload. 2024-07-09 06:30:26 +00:00
demo Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
lib/Parse Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
t Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
Build.PL Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
Changes Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
MANIFEST Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
META.json Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
META.yml Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
Makefile.PL Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
README Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00
ToDo Import Upstream version 1.967015 2022-09-23 05:00:36 +03:00

README

Parse::RecDescent version 1.967015

NAME

    Parse::RecDescent - generate recursive-descent parsers


DESCRIPTION

    RecDescent incrementally generates top-down recursive-descent text
    parsers from simple yacc-like grammar specifications. It provides:

        * Regular expressions or literal strings as terminals (tokens),

        * Multiple (non-contiguous) productions for any rule,

        * Repeated, optional and alternate subrules within productions,

        * Late-bound (run-time dispatched) subrules

        * Full access to Perl within actions specified as part of the grammar,

        * Simple automated error reporting during parser generation and parsing,

        * The ability to commit to, uncommit to, or reject particular
          productions during a parse,

        * Incremental extension of the parsing grammar (even during a parse),

        * Precompilation of parser objects,

        * User-definable reduce-reduce conflict resolution via
          "scoring" of matching productions.


LIMITATIONS

    * There's no support for parsing directly from an input stream.

    * The generator doesn't handle left-recursion.


PREREQUISITES

    Parse::RecDescent requires the Text::Balanced module, which is available
    from the CPAN.


INSTALLATION

    It's all pure Perl, so just put the .pm files in their appropriate
    local Perl subdirectories.


CHANGES AND FUTURE DEVELOPMENT

    This readme refers to versions 1.XXXXXX.
    For details of changes, refer to the file Changes.

    Version 2.00 will provide a cleaner interface and better
    parsing performance.


AUTHOR

    Damian Conway (damian@conway.org)
    Jeremy T. Braun (JTBRAUN@CPAN.org) [current maintainer]


INSTALLATION

To install this module, run the following commands:

    perl Makefile.PL
    make
    make test
    make install


Alternatively, to install with Module::Build, you can use the following commands:

    perl Makefile.PL
    make
    make test
    make install


COPYRIGHT AND LICENCE

Copyright (C) 1997-2007, Damian Conway

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