Browsable PNML Grammar

CC-BY

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

Summary

Syntax

BuiltInOperator ::=
	Cardinality
	CardinalityOf
	Contains
MultisetOperator ::=
	Add
	All
	NumberOf
	Subtract
	ScalarProduct
	Empty
Add ::=
	[add]::MultisetOperator.content
Subtract ::=
	[subtract]::MultisetOperator.content
All ::=
	[all]::(MultisetOperator.content Sort)
Empty ::=
	[empty]::(MultisetOperator.content Sort)
ScalarProduct ::=
	[scalarproduct]::MultisetOperator.content
NumberOf ::=
	[numberof]::MultisetOperator.content
Cardinality ::=
	[cardinality]::BuiltInOperator.content
CardinalityOf ::=
	[cardinalityof]::BuiltInOperator.content
Contains ::=
	[contains]::BuiltInOperator.content

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