openbsd-ports/devel/p5-Parse-RecDescent/pkg/DESCR
avsm 170306f346 initial import of p5-Parse-RecDescent-1.80
--
Parse::RecDescent incrementally generates top-down recursive-descent
text parsers from simple yacc-like grammar specifications.
2001-06-12 16:57:08 +00:00

19 lines
864 B
Plaintext

Parse::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 and optional subrules within productions
- 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
- The ability to pass data up and down the parse tree ("down" via
subrule argument lists, "up" via subrule return values)
- 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