Browsable LDF Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: doc/ldf/v13.0-xsd/extracted
Source used for this grammar: Vadim Zaytsev, Software Language Processing Suite, LDF, shared/xsd/ldf.xsd, 2008–2011, Version 21 [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
body ::=
	[ansi]::ε
	[ecma]::ε
	[ieee]::ε
	[iso]::ε
	[iso/iet]::ε
	[itu]::ε
	[ietf]::ε
	[iec]::ε
	[oasis]::ε
	[wsa]::ε
	[w3c]::ε
status ::=
	[unknown]::ε
	[draft]::ε
	[candidate]::ε
	[proposed]::ε
	[approved]::ε
	[revised]::ε
	[obsolete]::ε
	[withdrawn]::ε
	[collection]::ε
	[trial]::ε
	[errata]::ε
	[report]::ε
generated ::=
	[index]::ε
	[fullgrammar]::ε
	[listoftables]::ε
	[listofauthors]::ε
	[listofcontents]::ε
	[listofreferences]::ε
frontSection ::=
	[foreword]::simpleSection
	[designGoals]::simpleSection
	[scope]::simpleSection
	[conformance]::simpleSection
	[compliance]::simpleSection
	[compatibility]::simpleSection
	[notation]::simpleSection
	[normativeReferences]::simpleSection
	[documentStructure]::simpleSection
	[whatsnew]::simpleSection
simpleSection ::=
	[title]::string? [author]::string* [content]::simpleText [id]::string?
simpleText ::=
	simpleTextElement+
simpleTextElement ::=
	[empty]::ε
	[text]::mixedType
	[figure]::simpleFigure
	[table]::simpleTable
	[list]::simpleList
	[formula]::string
	[sample]::string
	production
simpleFigure ::=
	[caption]::string [type]::string [file]::string [id]::string?
simpleTable ::=
	[header]::tableRow* [row]::tableRow+
simpleList ::=
	[item]::mixedType+
frontList ::=
	[definitions]::listOfTerms
	[abbreviations]::listOfTerms
	[languageOverview]::listOfTerms
lexicalSection ::=
	[lineContinuations]::simpleSection
	[whitespace]::simpleSection
	[tokens]::simpleSection
	[preprocessor]::simpleSection
	[literals]::simpleSection
	[lexical]::simpleSection
structuredSection ::=
	[title]::string [author]::string* structuredSectionElement+ [id]::string?
listOfTerms ::=
	[title]::string? [author]::string* [term]::([name]::string [definition]::simpleText)+ [id]::string?
listOfInternalLinks ::=
	[link]::([text]::string [linkText]::string? [reference]::string)+
tableRow ::=
	[cell]::simpleText+
structuredSectionElement ::=
	[placeholder]::generated
	normative
	informative
	production
	[references]::listOfInternalLinks
	[section]::simpleSection
	[subtopic]::structuredSection
	[value]::([key]::string [data]::string)
normative ::=
	[synopsis]::simpleSection
	[description]::simpleSection
	[syntax]::production+
	[constraints]::simpleSection
	[relationship]::simpleSection
	[semantics]::simpleSection
	[default]::simpleSection
informative ::=
	[rationale]::simpleSection
	[example]::simpleSection
	[update]::simpleSection
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. []