Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: automata/petri/pnml/standard/cyclic/extracted
Source used for this grammar: Lom Hillah, RELAX NG implementation of Cyclic Enumerations grammar, cyclicenumerations.rng
, July 2008 [Download]
BuiltInSort
, BuiltInOperator
, CyclicEnumeration
, CyclicEnumOperator.content
, CyclicEnumOperator
, Successor
, Predecessor
), 0 root (—), 2 top (BuiltInSort
, BuiltInOperator
), 2 bottom (BuiltInOperator.content
, FiniteEnumeration.content
).[cyclicenumeration]
, [successor]
, [predecessor]
.BuiltInSort ::= CyclicEnumeration
BuiltInOperator ::= CyclicEnumOperator
CyclicEnumeration ::= [cyclicenumeration]::FiniteEnumeration.content
CyclicEnumOperator.content ::= BuiltInOperator.content
CyclicEnumOperator ::= Successor Predecessor
Successor ::= [successor]::CyclicEnumOperator.content
Predecessor ::= [predecessor]::CyclicEnumOperator.content