Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: automata/petri/pnml/touzet/extracted
Source used for this grammar: David Touzet, Petri Net 1.0, PetriNet.ecore
, 2005/07/18
String
, Integer
, Element
, PetriNet
, Place
, Transition
, Arc
, PlaceToTransArc
, TransToPlaceArc
), 0 root (—), 3 top (String
, Integer
, Element
), 0 bottom (—).[places]
, [transitions]
, [arcs]
, [incoming]
2, [outgoing]
2, [source]
2, [target]
2.String ::= string
Integer ::= integer
Element ::= PetriNet
Element ::= Place
Element ::= Transition
PetriNet ::= [places]::Place[transitions]::Transition [arcs]::Arc
Place ::= [incoming]::TransToPlaceArc[outgoing]::PlaceToTransArc
Transition ::= [incoming]::PlaceToTransArc[outgoing]::TransToPlaceArc
Arc ::= PlaceToTransArc
Arc ::= TransToPlaceArc
PlaceToTransArc ::= [source]::Place [target]::Transition
TransToPlaceArc ::= [source]::Transition [target]::Place