Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: meta/syntax/terms/btf/extracted
Source used for this grammar: Ralf Lämmel, Software Language Processing Suite (SLPS), shared/xsd/btf.xsd
, 2008 [Explore]
root
, grammar
, nonterminal
, production
, label
, expression
, value
, terminal
, selector
, tree
), 1 root (root
), 0 top (—), 0 bottom (—).[root]
, [label]
, [nonterminal]
3, [epsilon]
2, [empty]
, [value]
2, [any]
2, [terminal]
2, [selector]
2, [selectable]
2, [marked]
, [sequence]
2, [choice]
2, [allof]
, [not]
, [optional]
2, [plus]
2, [star]
2, [seplistplus]
, [sepliststar]
, [int]
2, [string]
2.root ::= grammar tree
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
tree ::= [epsilon]::ε [any]::α [terminal]::terminal [nonterminal]::production tree [selectable]:: [selector]::selector tree [value]:: [int]::integer [string]::string [sequence]::tree [choice]:: expression tree [optional]::tree [plus]::tree [star]::tree