| Safe Haskell | None |
|---|
Ivory.Compile.C
- compile :: Def a -> Compile
- compileModule :: Module -> CompileUnits
- runOpt :: (Proc -> Proc) -> Module -> Module
- showModule :: CompileUnits -> [[String]]
- writeHdr :: Bool -> FilePath -> (Includes, Sources) -> String -> IO ()
- writeSrc :: Bool -> FilePath -> (Includes, Sources) -> IO ()
- renderHdr :: (Includes, Sources) -> String -> String
- renderSrc :: (Includes, Sources) -> String
- data CompileUnits = CompileUnits {}
- outputProcSyms :: [Module] -> IO ()
Documentation
compileModule :: Module -> CompileUnitsSource
Compile a module.
showModule :: CompileUnits -> [[String]]Source
Arguments
| :: Bool | Verbosity |
| -> FilePath | Output file name |
| -> (Includes, Sources) | Source to translate |
| -> String | Unit name |
| -> IO () |
Output header file for a module.
Arguments
| :: Bool | Be verbose |
| -> FilePath | Output source name |
| -> (Includes, Sources) | Module to translate |
| -> IO () |
Output source file for a module.
outputProcSyms :: [Module] -> IO ()Source