parse_recdescent

Generate Recursive-Descent Parsers

bacaro: haikuports anche su HaikuPorts
Anche su HaikuPorts. parse_recdescent

Descrizione

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.

Installa

Canale stable v1.967015-2

Questa app e' curata in HaikuPorts. Installala da li', e' gia' disponibile in HaikuDepot.

pkgman install parse_recdescent

Scarica .hpkg 1.967015-2 (any)

Attenzione: il file arriva dal server di HaikuPorts, ma installarlo a mano non è la strada consigliata. È «pkgman» a risolvere le dipendenze che un .hpkg non porta con sé: un pacchetto installato da solo potrebbe non partire. Usa il comando pkgman qui sopra, a meno che tu non sappia esattamente perché ti serve il file.

Recensioni