Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: meta/syntax/bgf/v5.2-xsd/extracted
Source used for this grammar: Ralf Lämmel, Vadim Zaytsev, Software Language Processing Suite (SLPS), shared/xsd/bgf.xsd
, 18 December 2011 [Explore]
grammar
, nonterminal
, production
, label
, expression
, value
, terminal
, selector
), 1 root (grammar
), 0 top (—), 0 bottom (—).[root]
, [label]
, [nonterminal]
2, [epsilon]
, [empty]
, [value]
, [any]
, [terminal]
, [selector]
, [selectable]
, [marked]
, [sequence]
, [choice]
, [allof]
, [not]
, [optional]
, [plus]
, [star]
, [seplistplus]
, [sepliststar]
, [int]
, [string]
.grammar ::= [root]::nonterminalproduction
nonterminal ::= string
production ::=
[label]::label
[nonterminal]::nonterminal expressionlabel ::= string
expression ::= [epsilon]::ε [empty]::ε [value]::value [any]::ε [terminal]::terminal [nonterminal]::nonterminal [selectable]::[selector]::selector expression [marked]::expression [sequence]::expression [choice]::expression [allof]::expression [not]::expression [optional]::expression [plus]::expression [star]::expression [seplistplus]:: expression expression [sepliststar]:: expression expression
value ::= [int]::ε [string]::ε
terminal ::= string
selector ::= string