epic-0.1.1ContentsIndex
Epic.Compiler
Portabilityportable
Stabilityexperimental
Maintainereb@dcs.st-and.ac.uk
Description
Public interface for Epigram Supercombinator Compiler
Synopsis
data CompileOptions
= KeepC
| ShowBytecode
| ShowParseTree
compile :: FilePath -> FilePath -> Maybe FilePath -> IO ()
compileOpts :: FilePath -> FilePath -> Maybe FilePath -> [CompileOptions] -> IO ()
link :: [FilePath] -> FilePath -> IO ()
libdir :: FilePath
Documentation
data CompileOptions
(Debugging) options to give to compiler
Constructors
KeepCKeep intermediate C file
ShowBytecodeShow generated code
ShowParseTreeShow parse tree
show/hide Instances
compile
:: FilePathInput file name
-> FilePathOutput file name
-> Maybe FilePathInterface (.ei) file name, if desired
-> IO ()
Compile a source file in supercombinator language to a .o
compileOpts
:: FilePathInput file name
-> FilePathOutput file name
-> Maybe FilePathInterface (.ei) file name, if desired
-> [CompileOptions]
-> IO ()
link
:: [FilePath]Object files
-> FilePathExecutable filename
-> IO ()
Link a collection of .o files into an executable
libdir :: FilePath
Get the path where the required C libraries and include files are stored
Produced by Haddock version 0.7