Browsable LCF Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/scientific/lcf/v25.0-xsd/extracted
Source used for this grammar: Vadim Zaytsev, Software Language Processing Suite, LCF, shared/xsd/lcf.xsd, 2008–2011, Version 25 [Explore]

Summary

Syntax

configuration ::=
	definition+
definition ::=
	[shortcut]::shortcut
	[generator]::generator
	[tool]::tool
	[source]::source
	[target]::target
	[testset]::testset
shortcut ::=
	[name]::string [expansion]::xstring
generator ::=
	[name]::string [command]::xstring
source ::=
	[name]::string [grammar]::([extraction]::xstring [parsing]::xstring? [evaluation]::xstring?) [tree]::([extraction]::xstring [evaluation]::xstring?)? [testing]::[set]::xstring+?
target ::=
	[name]::string [branch]::([input]::string [preparation]::phase? [nominal-matching]::phase? [normalizing]::phase? [structural-matching]::phase? ([extension]::phase | [correction]::phase | [relaxation]::phase)*)+
phase ::=
	([perform]::string | [automated]::([method]::string [result]::string))+
testset ::=
	[name]::string [command]::xstring
tool ::=
	[name]::toolType [grammar]::xstring [tree]::xstring?
toolType ::=
	[validation]::ε
	[comparison]::ε
	[transformation]::ε
xstring ::=
	([expand]::string | string)*

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