Browsable Simulink/Stateflow 1.0 Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/atl/SimulinkStateFlow/extracted
Source used for this grammar: Youssef Srour, Simulink/Stateflow 1.0, SimulinkStateFlow.ecore, 2006/07/10

Summary

Syntax

Simulink ::=
	[subSystem]::System+
System ::=
	[name]::String [simulink]::Simulink [blocks]::Block [lines]::Line [subSystem]::System+
Connector ::=
	BranchPoint
Connector ::=
	Port
Connector ::=
	BranchPoint
	Port
Line ::=
	[name]::String [block]::Block [system]::System
BranchPoint ::=
	ε
Port ::=
	OutPut
Port ::=
	TriggerPort
Port ::=
	EnablePort
Port ::=
	[units]::Units
Block ::=
	Primitive
Block ::=
	Reference
Block ::=
	[description]::String [name]::String [priority]::String [natagme]::String [blockType]::String [lines]::Line+ [parameters]::Parameter+ [annotations]::Annotation+ [blockRefs]::BlockRef+ [system]::System
BlockRef ::=
	ε
Primitive ::=
	[deadLine]::String [period]::String [executionTime]::String
OutPut ::=
	[number]::Integer
TriggerPort ::=
	[triggerType]::TriggerEnum
EnablePort ::=
	[statesWhenEnabling]::EnableEnum
Reference ::=
	[sourceBlock]::String [sourceType]::String
Annotation ::=
	[text]::String [block]::Block
Parameter ::=
	[value]::String [block]::Block
Units ::=
	[alpha]::ε
	[beta]::ε
TriggerEnum ::=
	[alpha]::ε
	[beta]::ε
EnableEnum ::=
	[alpha]::ε
	[beta]::ε
String ::=
	string
Integer ::=
	integer

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