project-m36-1.0.1: Relational Algebra Engine
Safe HaskellSafe-Inferred
LanguageHaskell2010

ProjectM36.ScriptSession

Synopsis

Documentation

initScriptSession :: [String] -> IO (Either ScriptSessionError ScriptSession) Source #

Configure a GHC environment/session which we will use for all script compilation.

data ObjectLoadMode Source #

Constructors

LoadObjectFile

load .o files only

LoadDLLFile

load .so .dynlib .dll files only

LoadAutoObjectFile

determine which object mode to use based on the file name's extension

type ModuleDirectory = FilePath Source #

Load either a .o or dynamic library based on the file name's extension.

Load a function from an relocatable object file (.o or .so) If a modulesDir is specified, only load a path relative to the modulesDir (no ..)