Browsable PNML Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: automata/petri/pnml/standard/partitions/extracted
Source used for this grammar: Lom Hillah, RELAX NG implementation of Partitions grammar, partitions.rng, July 2008 [Download]

Summary

Syntax

SortDeclaration ::=
	Partition
OperatorDeclaration ::=
	PartitionElement
BuiltInOperator ::=
	PartitionOperator
Partition ::=
	[partition]::(SortDeclaration.content Sort PartitionElement+)
PartitionElement ::=
	[partitionelement]::(OperatorDeclaration.content Term+)
PartitionOperator.content ::=
	BuiltInOperator.content
PartitionOperator ::=
	PartitionLessThan
	PartitionGreaterThan
	PartitionElementOf
PartitionLessThan ::=
	[ltp]::PartitionOperator.content
PartitionGreaterThan ::=
	[gtp]::PartitionOperator.content
PartitionElementOf ::=
	[partitionelementof]::([refpartition]::string PartitionOperator.content)

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