Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: transform/xldf/v05/extracted
Source used for this grammar: Vadim Zaytsev, Ralf Lämmel, Software Language Processing Suite, XLDF, shared/xsd/xldf.xsd
, 2011 [Explore]
sequence
, transformation
, insert
, add-section
, place
, rename
, append
, import-grammar
, import-sample
, transform-grammar
, scope
), 9 root (sequence
, insert
, add-section
, place
, rename
, append
, import-grammar
, import-sample
, transform-grammar
), 1 top (scope
), 8 bottom (SimpleText
2, label
, StructuredSection
, nonterminal
, insideSimpleText
2, front-simple-section
, lexical
, front-list
).[before]
, [after]
, [content]
2, [core]
, [section]
, [inside]
, [id]
, [title]
, [from]
, [to]
, [where]
, [target]
2, [file]
2, [label]
, [nonterminal]
.sequence ::=
transformation
transformation ::= insert import-grammar import-sample place rename append add-section
insert ::=[before]::insideSimpleText [after]::insideSimpleText [content]::SimpleText
add-section ::= front-simple-section front-list lexical [core]::StructuredSection
place ::= [section]::string [inside]::string
rename ::= [from]::[id]::string [title]::string [to]::string
append ::= [where]::string [content]::SimpleText
import-grammar ::= [target]::string [file]::string
import-sample ::= [target]::string [file]::string
transform-grammar ::= transformation
scope ::= [label]::label [nonterminal]::nonterminal