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