egison-2.4.3: An Interpreter and Compiler 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

-> [(EgisonExpr, EgisonExpr)]

Extensions to the environment

-> IOThrowsError Env

Extended environment