Browsable LDF Grammar

CC-BY

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

Summary

Syntax

reference ::=
	string
sample ::=
	sampleType
runnable ::=
	runnableType
tail ::=
	mixedType
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
	[table]::SimpleTable
	[list]::SimpleList
	[formula]::string
	[sample]::string
	production
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]::ε
document ::=
	[titlePage]::titlePage [placeholder]::generated* [frontMatter]::front-simple-section+ [lists]::front-list+? [lexicalPart]::LexicalSection+? [core]::StructuredSection+ [annex]::StructuredSection*
titlePage ::=
	([body]::body [number]::integer | [author]::string+) [topic]::string ([version]::string | [edition]::string) [status]::status [date]::string
front-simple-section ::=
	[foreword]::SimpleSection
	[designGoals]::SimpleSection
	[scope]::SimpleSection
	[conformance]::SimpleSection
	[compliance]::SimpleSection
	[compatibility]::SimpleSection
	[notation]::SimpleSection
	[normativeReferences]::SimpleSection
	[documentStructure]::SimpleSection
	[whatsnew]::SimpleSection
	[clause]::SimpleSection
	[field]::SimpleSection
front-list ::=
	[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. []