Search results for "module:Parse::RandGen"
Parse::RandGen - Package for the creation of randomly generated parse data
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 UTC
Parse::RandGen::Rule - Grammatical Rule object
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 UTC
Parse::RandGen::Regexp - Regular expression Condition element.
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 UTC
Parse::RandGen::Literal - Literal terminal Condition element
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 UTC
Parse::RandGen::Subrule - Subrule Condition element, that references a Rule object and a match quantifier
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 UTC
Parse::RandGen::Grammar - Module for defining a language/protocol grammar
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 UTC
Parse::RandGen::CharClass - Character class (i.e. [a-f0-9]) terminal Condition element.
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 UTC
Parse::RandGen::Condition - Base class for condition elements that contain an element (regex, subrule, literal) and a match quantifier
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 UTC
Parse::RandGen::Production - Conditions for rule to match (and the action to take if it does)
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 UTC