|
| Epic.Compiler | | Portability | portable | | Stability | experimental | | Maintainer | eb@dcs.st-and.ac.uk |
|
|
|
|
|
| Description |
| Public interface for Epigram Supercombinator Compiler
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data CompileOptions |
| (Debugging) options to give to compiler
| | Constructors | | KeepC | Keep intermediate C file
| | ShowBytecode | Show generated code
| | ShowParseTree | Show parse tree
|
| Instances | |
|
|
| compile |
| :: FilePath | Input file name
| | -> FilePath | Output file name
| | -> Maybe FilePath | Interface (.ei) file name, if desired
| | -> IO () | | | Compile a source file in supercombinator language to a .o
|
|
|
| compileOpts |
| :: FilePath | Input file name
| | -> FilePath | Output file name
| | -> Maybe FilePath | Interface (.ei) file name, if desired
| | -> [CompileOptions] | | | -> IO () | |
|
|
| link |
| :: [FilePath] | Object files
| | -> FilePath | Executable 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 |