Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: doc/ldf/v07.1-xsd/extracted
Source used for this grammar: Vadim Zaytsev, Software Language Processing Suite, LDF, shared/xsd/ldf.xsd
, 2008–2011, Version 9 [Explore]
reference
, sample
, runnable
, tail
, ListOfTerms
, ListOfInternalLinks
, SimpleList
, SimpleText
, insideSimpleText
, SimpleSection
, StructuredSection
, normative
, informative
, lexicalGroup
, status
, generated
, body
, document
, titlePage
, front-simple-sections
, frontLists
, lexical
, runnableType
, mixedType
), 5 root (reference
, sample
, runnable
, tail
, document
), 0 top (—), 2 bottom (sampleType
, production
2).[id]
4, [title]
3, [author]
4, [name]
, [definition]
, [term]
, [text]
, [linktext]
, [reference]
, [link]
, [item]
, [p]
, [list]
, [formula]
, [content]
, [placeholder]
2, [relationship]
, [subtopic]
, [purpose]
, [description]
, [location]
, [considerations]
, [defaults]
, [normative]
, [note]
, [example]
, [informative]
, [lineContinuations]
, [whitespace]
, [tokens]
, [preprocessor]
, [literals]
, [lexical]
, [unknown]
, [draft]
, [committee draft]
, [recommendation]
, [international standard]
, [index]
, [fullgrammar]
, [listoftables]
, [listofauthors]
, [listofcontents]
, [listofreferences]
, [ansi]
, [ecma]
, [ieee]
, [iso]
, [iso/iet]
, [itu]
, [ietf]
, [iec]
, [oasis]
, [wsa]
, [w3c]
, [titlePage]
, [frontMatter]
, [lists]
, [lexicalPart]
, [core]
, [annex]
, [body]
, [number]
, [topic]
, [version]
2, [edition]
, [status]
, [date]
, [foreword]
, [designGoals]
, [scope]
, [conformance]
, [compliance]
, [compatibility]
, [notation]
, [normativeReferences]
, [documentStructure]
, [whatsnew]
, [clause]
, [field]
, [definitions]
, [abbreviations]
, [languageOverview]
, [context]
, [main]
, [argument]
, [yields]
, [language]
.reference ::= string
sample ::= sampleType
runnable ::= runnableType
tail ::= mixedType
ListOfTerms ::= [id]::string[title]::string [author]::string [term]:: [name]::string [definition]::SimpleText
ListOfInternalLinks ::= [link]::[text]::string [linktext]::string [reference]::string
SimpleList ::=
[item]::string
SimpleText ::=
insideSimpleText
insideSimpleText ::= [p]::string [list]::SimpleList [formula]::string production
SimpleSection ::= [id]::string[title]::string [author]::string [content]::SimpleText
StructuredSection ::= [id]::string[title]::string [author]::string [placeholder]::generated normative informative production [relationship]::ListOfInternalLinks [subtopic]::StructuredSection
normative ::= [purpose]::SimpleSection [description]::SimpleSection [location]::SimpleSection [considerations]::SimpleSection [defaults]::SimpleSection [normative]::SimpleSection
informative ::= [note]::SimpleSection [example]::SimpleSection [informative]::SimpleSection
lexicalGroup ::= [lineContinuations]::SimpleSection [whitespace]::SimpleSection [tokens]::SimpleSection [preprocessor]::SimpleSection [literals]::SimpleSection [lexical]::SimpleSection
status ::= [unknown]::ε [draft]::ε [committee draft]::ε [recommendation]::ε [international standard]::ε
generated ::= [index]::ε [fullgrammar]::ε [listoftables]::ε [listofauthors]::ε [listofcontents]::ε [listofreferences]::ε
body ::= [ansi]::ε [ecma]::ε [ieee]::ε [iso]::ε [iso/iet]::ε [itu]::ε [ietf]::ε [iec]::ε [oasis]::ε [wsa]::ε [w3c]::ε
document ::= [titlePage]::titlePage [placeholder]::generated[frontMatter]::front-simple-sections [lists]::frontLists [lexicalPart]::lexical [core]::StructuredSection [annex]::StructuredSection
titlePage ::=[body]::body [number]::integer [author]::string [topic]::string [version]::string [edition]::string [status]::status [date]::string
front-simple-sections ::= [foreword]::SimpleSection [designGoals]::SimpleSection [scope]::SimpleSection [conformance]::SimpleSection [compliance]::SimpleSection [compatibility]::SimpleSection [notation]::SimpleSection [normativeReferences]::SimpleSection [documentStructure]::SimpleSection [whatsnew]::SimpleSection [clause]::SimpleSection [field]::SimpleSection
frontLists ::=[definitions]::ListOfTerms [abbreviations]::ListOfTerms [languageOverview]::ListOfTerms
lexical ::=
lexicalGroup
runnableType ::= [context]::string [main]::string [argument]::string[yields]::string [language]::string [version]::string [id]::string
mixedType ::=α string