Parse::RandGen - Package for the creation of randomly generated parse data River stage one • 1 direct dependent • 1 total dependent

This package contains modules that can be used to randomly generate parse data (that will either match or not match the grammatical specification). The primary use for randomly generated parse data is to test parsers (or just regular expressions). Th...

JDUTTON/Parse-RandGen-0.202 - 31 Aug 2005 19:42:54 GMT

Parse::RandGen::Rule - Grammatical Rule object River stage one • 1 direct dependent • 1 total dependent

A Rule matches if any one of its Productions match the input text. In BNF notation, the relationship of Rules and Productions is: rule1: production1 | production2 | production3 For example: perlFuncCall: /&?/ identifier '(' argument(s?) ')' | scalar ...

JDUTTON/Parse-RandGen-0.202 - 31 Aug 2005 19:42:54 GMT

Parse::RandGen::Regexp - Regular expression Condition element. River stage one • 1 direct dependent • 1 total dependent

Regexp is a Condition element that matches the given compiled regular expression. For picking random data, the regular expression is parsed into its component Subrules, Literals, CharClasses, etc.... Therefore, the pick functionality for a regular ex...

JDUTTON/Parse-RandGen-0.202 - 31 Aug 2005 19:42:54 GMT

Parse::RandGen::Literal - Literal terminal Condition element River stage one • 1 direct dependent • 1 total dependent

Literal is a terminal Condition element that matches the literal. The only choice for picking a good Literal is the literal itself....

JDUTTON/Parse-RandGen-0.202 - 31 Aug 2005 19:42:54 GMT

Parse::RandGen::Subrule - Subrule Condition element, that references a Rule object and a match quantifier River stage one • 1 direct dependent • 1 total dependent

Subrule is a non-terminal Condition element that references a Rule object and contains a match quantifier (how many times the Rule must match for the Condition to be satisfied)....

JDUTTON/Parse-RandGen-0.202 - 31 Aug 2005 19:42:54 GMT

Parse::RandGen::Grammar - Module for defining a language/protocol grammar River stage one • 1 direct dependent • 1 total dependent

The purpose of this module is to build a grammar description that can then be used to build: (1) a parser using Parse::RecDescent (2) a stimulus generator that creates valid (and interesting invalid) tests of the grammar. Be aware of the greediness o...

JDUTTON/Parse-RandGen-0.202 - 31 Aug 2005 19:42:54 GMT

Parse::RandGen::CharClass - Character class (i.e. [a-f0-9]) terminal Condition element. River stage one • 1 direct dependent • 1 total dependent

CharClass is a terminal Condition element that models a character class (e.g. [0-9a-fA-f], [^-\n\r], [AaBbCcDd], etc...). Internally, the character class is broken down into a 256 character long string and an offset. The offset is the first character...

JDUTTON/Parse-RandGen-0.202 - 31 Aug 2005 19:42:54 GMT

Parse::RandGen::Condition - Base class for condition elements that contain an element (regex, subrule, literal) and a match quantifier River stage one • 1 direct dependent • 1 total dependent

There are several specific Condition classes: Subrule, Literal, CharClass, and Regexp. Literals and CharClass's are terminal Conditions....

JDUTTON/Parse-RandGen-0.202 - 31 Aug 2005 19:42:54 GMT

Parse::RandGen::Production - Conditions for rule to match (and the action to take if it does) River stage one • 1 direct dependent • 1 total dependent

A Production defines a set of Conditions that must be satisfied for a Rule to match input text. The Production consists of an ordered list of Conditions (subrules, literals, and regexps) that must sequentially match for the Production to match. A rul...

JDUTTON/Parse-RandGen-0.202 - 31 Aug 2005 19:42:54 GMT

9 results (0.038 seconds)