Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: automata/petri/pnml/standard/arbitrary/extracted
Source used for this grammar: Lom Hillah, RELAX NG implementation of High-level Petri nets user-defined grammar, arbitrarydeclarations.rng
, July 2008 [Download]
Declaration
, SortDeclaration
, OperatorDeclaration
, ArbitrarySort
, ArbitraryOperator
, Unparsed
), 0 root (—), 3 top (Declaration
, SortDeclaration
, OperatorDeclaration
), 5 bottom (anyElement
, Sort
2, SortDeclaration.content
, Declaration.content
, OperatorDeclaration.content
).[arbitrarysort]
, [input]
, [output]
, [arbitraryoperator]
, [unparsed]
.Declaration ::= Unparsed
SortDeclaration ::= ArbitrarySort
OperatorDeclaration ::= ArbitraryOperator
ArbitrarySort ::= [arbitrarysort]::SortDeclaration.content
ArbitraryOperator ::= [arbitraryoperator]::OperatorDeclaration.content [input]::Sort [output]::Sort
Unparsed ::= [unparsed]::Declaration.content anyElement