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