verigraph-1.1.1: Software specification and verification tool based on graph rewriting.

MaintainerAndrei Costa <acosta@inf.ufrgs.br>
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

Grammar.Core

Description

A grammar is defined as a start object, a set of transformation rules, and a set of constraints for the potencial generated objects. The morphism type is kept generic.

Synopsis

Documentation

data ObjectFlow m Source #

Object that uses a Span of Morphisms to connect the right-hand-side of a Production with the left-hand-side of another one

Constructors

ObjectFlow 

Fields

  • index :: String

    A identifier for the Object Flow

  • producer :: String

    The name of the production that will produce the input for the next

  • consumer :: String

    The name of the production that uses the result of the other

  • spanMapping :: Span m

    A span of Morphisms Ri IO - Lo where Ri is the right-hand-side of the producer production and Lo is the left-hand-side of the consumer production