CSPM-Interpreter-0.6.0.3: An interpreter for CSPM

PortabilityGHC-only
Stabilityexperimental
MaintainerFontaine@cs.uni-duesseldorf.de
Safe HaskellSafe-Infered

CSPM.Interpreter.Eval

Description

The main eval function of the Interpreter.

Synopsis

Documentation

eval :: LExp -> EM ValueSource

Evaluate an expression in the EM monad.

runEM :: EM x -> Env -> xSource

Run the EM monad with a given envirionment.

evalModule :: Module INT -> EnvSource

Process a module and return the top-level envirionment.