Browsable SimpleRDBMS 0.2 Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/atl/QVT_SimpleRDBMS/extracted
Source used for this grammar: Ivan Kurtev, SimpleRDBMS 0.2, QVT_SimpleRDBMS.ecore,

Summary

Syntax

RModelElement ::=
	Schema
RModelElement ::=
	Table
RModelElement ::=
	Column
RModelElement ::=
	Key
RModelElement ::=
	ForeignKey
Schema ::=
	[tables]::Table+
Table ::=
	[schema]::Schema [column]::Column+ [key]::Key+ [foreignKey]::ForeignKey+
Column ::=
	[type]::String [owner]::Table [key]::Key+ [foreignKey]::ForeignKey+
Key ::=
	[owner]::Table [column]::Column+ [refersToOpposite]::ForeignKey+
ForeignKey ::=
	[column]::Column+ [owner]::Table [refersTo]::Key
String ::=
	string

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