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]
BuiltInOperator
, MultisetOperator
, Add
, Subtract
, All
, Empty
, ScalarProduct
, NumberOf
, Cardinality
, CardinalityOf
, Contains
), 0 root (—), 2 top (BuiltInOperator
, MultisetOperator
), 3 bottom (Sort
2, MultisetOperator.content
6, BuiltInOperator.content
3).[add]
, [subtract]
, [all]
, [empty]
, [scalarproduct]
, [numberof]
, [cardinality]
, [cardinalityof]
, [contains]
.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