egison-2.1.16: An Interpreter for the Programming Language Egison

Safe HaskellSafe-Infered

Language.Egison.Core

Synopsis

Documentation

showBanner :: IO ()Source

A utility function to display the egison console banner

showByebyeMessage :: IO ()Source

A utility function to display the egison console byebye message

loadLibraries :: Env -> IO ()Source

Load standard libraries into the given environment

escapeBackslashes :: String -> StringSource

A utility function to escape backslashes in the given string

evalTopExpr :: Env -> TopExpr -> IOThrowsError StringSource

Evaluate egison top expression that has already been loaded into haskell

eval :: Env -> EgisonExpr -> IOThrowsError EgisonValSource

Evaluate egison expression that has already been loaded into haskell

extendLetSource

Arguments

:: Env

Environment

-> [(Args, EgisonExpr)]

Extensions to the environment

-> IOThrowsError Env

Extended environment

Extend given environment by binding a series of values to a new environment for let.