Hets - the Heterogeneous Tool Set

Copyright(c) C. Maeder, DFKI 2008
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

VSE.As

Contents

Description

CASL extention to VSE programs and dynamic logic as described on page 4-7 (Sec 2.3.1, 2.5.2, 2.5.4, 2.6) of Bruno Langenstein's API description

Synopsis

Documentation

data Paramkind

input or output procedure parameter kind

Constructors

In 
Out 

data Profile

procedure or function declaration

Constructors

Profile [Procparam] (Maybe SORT) 

mkRanged :: a -> Ranged a

attach a nullRange

type Program = Ranged PlainProgram

programs with ranges

data PlainProgram

programs based on restricted terms and formulas

Constructors

Abort 
Skip 
Assign VAR (TERM ()) 
Call (FORMULA ())

a procedure call as predication

Return (TERM ()) 
Block [VAR_DECL] Program 
Seq Program Program 
If (FORMULA ()) Program Program 
While (FORMULA ()) Program 

data VarDecl

alternative variable declaration

Constructors

VarDecl VAR SORT (Maybe (TERM ())) Range 

data Defproc

procedure definitions as basic items becoming sentences

Pretty instances

block :: Doc -> Doc

genVars :: [SORT] -> [(Token, SORT)]