Hets - the Heterogeneous Tool Set

Copyrightuni-bremen and DFKI
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerr.pascanu@jacobs-university.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

CMDL.DataTypes

Description

CMDL.DataTypes describes the internal states(or datatypes) of the CMDL interface.

Synopsis

Documentation

data CmdlState

CMDLState contains all information the CMDL interface might use at any time.

Constructors

CmdlState 

Fields

intState :: IntState

common interface state

prompter :: CmdlPrompterState

promter of the interface

openComment :: Bool

open comment

connections :: [CmdlChannel]

opened connections

output :: CmdlMessage

output of interface

hetsOpts :: HetcatsOpts

hets command options

errorCode :: Int
 

emptyCmdlState :: HetcatsOpts -> CmdlState

Creates an empty CmdlState

data CmdlCmdDescription

Description of a command in order to have a uniform access to any of the commands

data CmdlCmdPriority

Some commands have different status, for example 'end-script' needs to be processed even though the interface is in reading script state. The same happens with '}%' even though the interface is in multi line comment state. In order not to treat this few commands separately from the other it is easy just to give to all commands different priorities

data CmdlCmdFnClasses

Any command belongs to one of the following classes of functions, a) f :: s -> IO s b) f :: String -> s -> IO s

data CmdlCmdRequirements

Datatype describing the types of commands according to what they expect as input

Constructors

ReqNodesOrEdges (Maybe Bool) (Maybe NodeOrEdgeFilter)

Nothing: Both, True: Nodes, False: Edges

ReqProvers 
ReqConsCheck 
ReqComorphism 
ReqLogic 
ReqFile 
ReqAxm Bool

True: Axioms, False: Goals

ReqNumber 
ReqNothing 
ReqUnknown 

data CmdlChannel

CMDLSocket takes care of opened sockets for comunication with other application like the Broker in the case of PGIP

data CmdlChannelType

Channel type describes different type of channel

Constructors

ChSocket 
ChFile 
ChStdin 
ChStdout 

data CmdlChannelProperties

Channel properties describes what a channel can do

Constructors

ChRead 
ChWrite 
ChReadWrite 

data CmdlSocket

Describes a socket

data CmdlMessage

output message given by the interface

Constructors

CmdlMessage 

data CmdlListAction

Datatype describing the list of possible action on a list of selected items

data ProveCmdType

Constructors

Prove 
Disprove 
ConsCheck