Browsable PNML Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: automata/petri/pnml/guyard/simplified/extracted
Source used for this grammar: Pierrick Guyard, PNML Simplified 1.1, PNML_simplified.ecore, 2005/06/15

Summary

Syntax

LocatedElement ::=
	IdedElement
LocatedElement ::=
	URI
LocatedElement ::=
	PNMLDocument
LocatedElement ::=
	NetContent
LocatedElement ::=
	LabeledElement
LocatedElement ::=
	Label
IdedElement ::=
	NetElement
IdedElement ::=
	NetContentElement
IdedElement ::=
	Arc
URI ::=
	[value]::String
PNMLDocument ::=
	[xmlns]::URI [nets]::NetElement+
NetElement ::=
	[type]::URI [document]::PNMLDocument [contents]::NetContent+ [name]::Name
NetContent ::=
	NetContentElement
NetContent ::=
	Arc
LabeledElement ::=
	Name
Label ::=
	[text]::String [labeledElement]::LabeledElement
Name ::=
	[net]::NetElement [netContent]::NetContent
NetContentElement ::=
	Place
NetContentElement ::=
	Transition
Arc ::=
	[source]::NetContentElement [target]::NetContentElement
Place ::=
	ε
Transition ::=
	ε
Integer ::=
	integer
String ::=
	string

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