$Date$ $Revision$ elements productionset productionset Element productionset &productionset.purpose; &productionset.synopsis.gen; Description This element is only available if you are using the EBNF Module. A ProductionSet is a collection of Extended Backus-Naur Form (EBNF) Productions. EBNF is a notation for describing the grammar of context-free languages. Even if you aren't conversant in the programming language concepts of context-free languages and grammars, it's not really as hard to understand as it sounds. A set of EBNF productions describes the legal arrangements of tokens in a language. Consider arithmetic expressions as a simple example. The expression 3 + 4 is valid and so is 3 + 4 - 5, but 3 - + - 4 is not, nor is 3 + 4 6. We can use EBNF to describe all the possible legal arrangements: Arithemetic Expressions Expression ArithExpression | MultExpression Does this grammar actually get precedence right? ArithExpression Expression '+' MultExpression | Expression '-' MultExpression MultExpression MultExpression '*' MultExpression | MultExpression '/' MultExpression | Number Number [0-9]+ Division by Zero Division by zero is an error. Constraints, such as this one, are used to express conditions that cannot be expressed in the grammar. Processing expectations &format.block; The detailed processing expecations with respect to individual productions, left-hand sides, and right-hand sides are quite complex. Productions should be numbered. &productionset.parents.gen; &productionset.children.gen; Examples &productionset.example.1.txt; &productionset.example.seealso.gen;