Browsable LCF Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/scientific/lcf/readable/extracted
Source used for this grammar: Vadim Zaytsev, Software Language Processing Suite, LCF, shared/xsd/lcf.xsd, 2008–2011, readable version

Summary

Syntax

scenario ::=
	shortcut* tools source+ target+ testset*
tools ::=
	[transformer]::tool [comparator]::tool [validator]::tool? generator*
shortcut ::=
	[name]::string [expansion]::xstring
generator ::=
	[name]::string [command]::xstring
source ::=
	[name]::string derived? source-grammar source-tree? [test-set]::xstring*
target ::=
	[name]::string branch+
phase ::=
	[step]::([perform-transformation]::string | automated-transformation)+
testset ::=
	[name]::string [command]::xstring
tool ::=
	[grammar]::xstring [tree]::xstring?
xstring ::=
	([expand]::string | string)*
derived ::=
	[from]::string [using]::string
source-grammar ::=
	[extraction]::xstring [parsing]::xstring? [evaluation]::xstring?
source-tree ::=
	[extraction]::xstring [evaluation]::xstring?
branch ::=
	[input]::string [preparation]::phase? [nominal-matching]::phase? [normalizing]::phase? [structural-matching]::phase? ([extension]::phase | [correction]::phase | [relaxation]::phase)*
automated-transformation ::=
	[method]::string [result]::string

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