License | MIT |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
This module provides interface for evaluating Egison expressions.
Synopsis
- evalExpr :: Env -> Expr -> EvalM EgisonValue
- evalTopExpr :: Env -> TopExpr -> EvalM (Maybe EgisonValue, Env)
- evalTopExprStr :: Env -> TopExpr -> EvalM (Maybe String, Env)
- evalTopExprs :: Env -> [TopExpr] -> EvalM Env
- evalTopExprsNoPrint :: Env -> [TopExpr] -> EvalM Env
- runExpr :: Env -> String -> EvalM EgisonValue
- runTopExpr :: Env -> String -> EvalM (Maybe EgisonValue, Env)
- runTopExprStr :: Env -> String -> EvalM (Maybe String, Env)
- runTopExprs :: Env -> String -> EvalM Env
- loadEgisonLibrary :: Env -> FilePath -> EvalM Env
- loadEgisonFile :: Env -> FilePath -> EvalM Env
Eval Egison expressions
evalTopExpr :: Env -> TopExpr -> EvalM (Maybe EgisonValue, Env) Source #
Evaluate an Egison top expression.
evalTopExprStr :: Env -> TopExpr -> EvalM (Maybe String, Env) Source #
Evaluate an Egison top expression.
runExpr :: Env -> String -> EvalM EgisonValue Source #
Evaluate an Egison expression. Input is a Haskell string.
runTopExpr :: Env -> String -> EvalM (Maybe EgisonValue, Env) Source #
Evaluate an Egison top expression. Input is a Haskell string.
runTopExprStr :: Env -> String -> EvalM (Maybe String, Env) Source #
Evaluate an Egison top expression. Input is a Haskell string.
runTopExprs :: Env -> String -> EvalM Env Source #
Evaluate Egison top expressions. Input is a Haskell string.