CSPM-Interpreter-0.2.0.0: An interpreter for CSPMSource codeContentsIndex
CSPM.Interpreter
PortabilityGHC-only
Stabilityexperimental
MaintainerFontaine@cs.uni-duesseldorf.de
Description
An API for the Interpreter.
Synopsis
runFile :: FilePath -> String -> IO ()
evalTest :: FilePath -> String -> IO Value
getAllEvents :: Env -> ClosureSet
prepareAST :: LModule -> LModule
runInterpreter :: LModule -> UniqueIdent -> IO (Process, Env)
module CSPM.Interpreter.Types
lookupIdent :: LIdent -> EM Value
bindIdent :: LIdent -> Value -> Bindings -> Bindings
emptyBindings :: Bindings
lookupAllChannels :: EM [Channel]
module CSPM.Interpreter.CoreInstances
Documentation
runFile :: FilePath -> String -> IO ()Source
Load a specification from a file and evaluate an expression in the context. Print the result to stdout and handle some exceptions.
evalTest :: FilePath -> String -> IO ValueSource
Load a specification from a file and evaluate an expression in the context.
getAllEvents :: Env -> ClosureSetSource
prepareAST :: LModule -> LModuleSource
runInterpreter :: LModule -> UniqueIdent -> IO (Process, Env)Source
Run the interpreter for a given module and top-level identifier.
module CSPM.Interpreter.Types
lookupIdent :: LIdent -> EM ValueSource
bindIdent :: LIdent -> Value -> Bindings -> BindingsSource
emptyBindings :: BindingsSource
lookupAllChannels :: EM [Channel]Source
module CSPM.Interpreter.CoreInstances
Produced by Haddock version 2.6.1