Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: meta/syntax/bgf/v1.0-xsd/extracted
Source used for this grammar: Ralf Lämmel, Software Language Processing Suite (SLPS), shared/xsd/bgf.xsd
, 28 July 2008 [Explore]
grammar
, production
, expression
, label
, nonterminal
, selector
, terminal
), 3 root (grammar
, production
, expression
), 0 top (—), 0 bottom (—).[name]
, [root]
, [label]
, [nonterminal]
2, [epsilon]
, [empty]
, [any]
, [terminal]
, [selector]
, [selectable]
, [sequence]
, [choice]
, [optional]
, [plus]
, [star]
.grammar ::= [name]::string[root]::nonterminal production
production ::=
[label]::label
[nonterminal]::nonterminal expressionexpression ::= [epsilon]::ε [empty]::ε [any]::ε [terminal]::terminal [nonterminal]::nonterminal [selectable]::[selector]::selector expression [sequence]::expression [choice]::expression [optional]::expression [plus]::expression [star]::expression
label ::= string
nonterminal ::= string
selector ::= string
terminal ::= string