Browsable LDF Grammar

CC-BY

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

Summary

Syntax

reference ::=
	string
sample ::=
	sampleType
runnable ::=
	runnableType
tail ::=
	mixedType
document ::=
	[title]::string [author]::string [abstract]::string [content]::contentType
contentType ::=
	([text]::mixedType | [grammar]::(α [language]::string [version]::string?) | [sample]::sampleType | [runnable]::runnableType)* [section]::sectionType*
sampleType ::=
	ε
runnableType ::=
	[context]::string [main]::string [argument]::string* [yields]::string [language]::string [version]::string?
sectionType ::=
	[title]::string [content]::contentType
mixedType ::=
	(α | string)*

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