Browsable LDF Grammar

CC-BY

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

Summary

Syntax

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)*
reference ::=
	string
tail ::=
	mixedType

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