OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

p5-Parse-RecDescent-1.967015p0

perl module to generate recursive descent parsers

Back to search · Project homepage

Description

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

Package information

Ports path
devel/p5-Parse-RecDescent
Package architecture
*
Maintainer
Andrew Fresh <afresh1@openbsd.org>
Categories
devel, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Test

Used by (24 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON