Browsable PNML Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: automata/petri/pnml/standard/highlevel/core/extracted
Source used for this grammar: Lom Hillah, RELAX NG implementation of High-level Petri nets Core Structure grammar, hlcorestructure.rng, July 2008 [Download]

Summary

Syntax

net.labels ::=
	HLDeclaration*
page.labels ::=
	HLDeclaration*
place.labels ::=
	Type? HLMarking?
transition.labels ::=
	Condition?
arc.labels ::=
	HLAnnotation?
HLDeclaration ::=
	[declaration]::(simpletextlabel.content [structure]::Declarations?)
Type ::=
	[type]::(simpletextlabel.content [structure]::Sort?)
HLMarking ::=
	[hlinitialMarking]::(simpletextlabel.content [structure]::Term?)
Condition ::=
	[condition]::(simpletextlabel.content [structure]::Term?)
HLAnnotation ::=
	[hlinscription]::(simpletextlabel.content [structure]::Term?)

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