CSPM-Interpreter-0.4.4.1: An interpreter for CSPM

PortabilityGHC-only
Stabilityexperimental
MaintainerFontaine@cs.uni-duesseldorf.de

CSPM.Interpreter

Description

An API for the Interpreter.

Synopsis

Documentation

runFileSource

Arguments

:: FilePath

a file containing a CSPM specification

-> String

a CSPM expression

-> IO () 

Load a specification from a file and evaluate an expression in the context. Print the result to stdout and handle some exceptions.

evalTestSource

Arguments

:: FilePath

CSPM specification

-> String

a CSPM expression

-> IO Value

the result

Load a specification from a file and evaluate an expression in the context.

runInterpreter :: Module INT -> UniqueIdent -> (Value, Env)Source

Run the interpreter for a given module and top-level identifier.

runInterpreterP :: Module INT -> UniqueIdent -> (Process, Env)Source

Run the interpreter for a given module and top-level identifier. Cast result to a process