Package com.varankin.bnf

BNF syntax object model.

See:
          Description

Interface Summary
SyntacticPrimary A syntactic-primary consists of one of the following: (a) an optional-sequence; (b) a repeated-sequence; (c) a grouped-sequence; (d) a meta-identifier; (e) a terminal-string; (f) a special-sequence; (g) an empty-sequence.
 

Class Summary
Container<Component> Some container that consists of an [ordered] list of one or more components separated from each other by some symbol.
DefinitionsList A definitions-list consists of an ordered list of one or more single-definitions separated from each other by a definition-separator-symbol.
EmptySequence An empty-sequence consists of the empty sequence of terminal-characters.
GroupedSequence A grouped-sequence consists of a start-group-symbol followed by a definitions-list followed by an end-group-symbol.
MetaIdentifier A meta-identifier consists of an ordered list of one or more meta-identifier-characters subject to the condition that the first meta-identifier-character is a letter.
MetaIdentifierCharacter A meta-identifier-character is a letter or a decimal-digit.
OptionalSequence An optional-sequence consists of a start-option-symbol followed by a definitions-list followed by an end-option-symbol.
RepeatedSequence A repeated-sequence consists of a start-repeat-symbol followed by a definitions-list followed by an end-repeat-symbol.
SingleDefinition A single-definition consists of an ordered list of one or more syntactic-terms separated from each other by a concatenate-symbol.
SpecialSequence A special-sequence consists of a special-sequence-symbol followed by a (possibly empty) sequence of special-sequence- characters followed by a special-sequence-symbol.
SyntacticFactor A syntactic-factor consists of either: (a) an integer followed by a repetition-symbol followed by a syntactic-primary, or (b) a syntactic-primary.
SyntacticTerm A syntactic-term consists of either: (a) a syntactic-factor, or (b) a syntactic-factor followed by an except-symbol followed by a syntactic-exception.
Syntax The syntax of a language consists of one or more syntax-rules.
SyntaxRule A syntax-rule consists of a meta-identifier (the name of the non-terminal symbol being defined) followed by a defining-symbol followed by a definitions-list followed by a terminator-symbol.
TerminalString A quote-symbol followed by a sequence of one or more terminal-characters followed by a quote-symbol.
WrappedDefinitionsList Some sequence that consists of a start symbol followed by a definitions-list followed by an end symbol.
 

Package com.varankin.bnf Description

BNF syntax object model.