Parse::RecDescent

Description

Parse::RecDescent is a Perl module to generate Recursive-Descent Parsers. SYNOPSIS use Parse::RecDescent; # Generate a parser from the specification in $grammar: $parser = new Parse::RecDescent ($grammar); # Generate a parser from the specification in $othergrammar $anotherparser = new Parse::RecDescent ($othergrammar); # Parse $text using rule startrule (which must be # defined in $grammar): $parser->startrule($text); # Parse $text using rule otherrule (which must also # be defined in $grammar): $parser->otherrule($text); # Change the universal token prefix pattern # (the default is: s*): $Parse::RecDescent::skip = [ t]+; # Replace productions of existing rules (or create new ones) # with the productions defined in $newgrammar: $parser->Replace($newgrammar); # Extend existing rules (or create new ones) # by adding extra productions defined in $moregrammar: $parser->Extend($moregrammar); # Global flags (useful as command line arguments under -s): $::RD_ERRORS # unless undefined, report fatal errors $::RD_WARN # unless undefined, also report non-fatal problems $::RD_HINT # if defined, also suggestion remedies $::RD_TRACE # if defined, also trace parsers behaviour $::RD_AUTOSTUB # if defined, generates "stubs" for undefined rules $::RD_AUTOACTION # if defined, appends specified action to productions Parse::RecDescent incrementally generates top-down recursive-descent text parsers from simple yacc-like grammar specifications..

Recdescent - Rd - Parserecdescent - Descent Parsers - Perl Module - Defined - Productions - Generate - Parse - Parser - Grammar - Libraries - Programming

Published By:Damian Conway

License Type:Freeware

Date Added:22 October, 2010

Version:1.94

Price:Free

Downloads:2

Size:122.9 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Bigtop::Parser is the Parse::RecDescent grammar driven parser for bigtop files.

DateAug 28, 2010

AuthorPhil Crow

Size378.9 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Parse::RecDescent::FAQ is the official, authorized FAQ for Parse::RecDescent. OVERVIEW-TYPE QUESTIONS Is Parse::RecDescent LL(1)? LL(N)? LR(1)? LR(N)?

DateOct 22, 2010

AuthorTerrence Brannon

Size77.8 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Data::Encrypted is a Perl module to transparently store encrypted data via RSA. SYNOPSIS # functional interface: use Data::Encrypted file => "./.

DateAug 12, 2010

AuthorAaron J Mackey

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Acme::Test::Weather is a Perl module to test the weather conditions for a user. SYNOPSIS use Test::Weather; plan tests => 2; # You may only install something # when its nice outside. &isnt_snowing(); &isnt_cloudy(); # output: 1..

DateSep 25, 2010

AuthorAaron Straup Cope

Size5.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

XML::Generator::vCard::RDF is a Perl module that can generate RDF/XML SAX2 events for vCard 3.

DateAug 9, 2010

AuthorAaron Straup Cope

Size9.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming