Browsable LDF Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: doc/ldf/v11.1-xsd/extracted
Source used for this grammar: Vadim Zaytsev, Software Language Processing Suite, LDF, shared/xsd/ldf.xsd, 2008–2011, Version s [Explore]

Summary

Syntax

reference ::=
	string
sample ::=
	sampleType
runnable ::=
	runnableType
tail ::=
	mixedType
document ::=
	[titlePage]::titlePage [placeholder]::generated* [frontMatter]::frontSection+ [lists]::frontList+? [lexicalPart]::lexicalSection+? [core]::structuredSection+ [annex]::structuredSection*
titlePage ::=
	([body]::body [number]::integer | [author]::string+) [topic]::string ([version]::string | [edition]::string) [status]::status [date]::string
listOfTerms ::=
	[title]::string? [author]::string* [term]::([name]::string [definition]::simpleText)+ [id]::string?
listOfInternalLinks ::=
	[link]::([text]::string [linkText]::string? [reference]::string)+
simpleList ::=
	[item]::mixedType+
simpleText ::=
	simpleTextElement+
tableRow ::=
	[cell]::simpleText+
simpleTable ::=
	[header]::tableRow* [row]::tableRow+
simpleTextElement ::=
	[empty]::ε
	[text]::mixedType
	[figure]::simpleFigure
	[table]::simpleTable
	[list]::simpleList
	[formula]::string
	[sample]::string
	production
simpleFigure ::=
	[caption]::string [type]::string [file]::string [id]::string?
simpleSection ::=
	[title]::string? [author]::string* [content]::simpleText [id]::string?
structuredSection ::=
	[title]::string [author]::string* structuredSectionElement+ [id]::string?
structuredSectionElement ::=
	[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
lexicalSection ::=
	[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]::ε
frontSection ::=
	[foreword]::simpleSection
	[designGoals]::simpleSection
	[scope]::simpleSection
	[conformance]::simpleSection
	[compliance]::simpleSection
	[compatibility]::simpleSection
	[notation]::simpleSection
	[normativeReferences]::simpleSection
	[documentStructure]::simpleSection
	[whatsnew]::simpleSection
	[clause]::simpleSection
	[field]::simpleSection
frontList ::=
	[definitions]::listOfTerms
	[abbreviations]::listOfTerms
	[languageOverview]::listOfTerms
runnableType ::=
	[context]::string [main]::string [argument]::string* [yields]::string [language]::string [version]::string? [id]::string?
mixedType ::=
	(α | string)*
keyword ::=
	string

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []