Safe Haskell | None |
---|
- 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
:: Bool | Verbosity |
-> FilePath | Output file name |
-> (Includes, Sources) | Source to translate |
-> String | Unit name |
-> IO () |
Output header file for a module.
Output source file for a module.
outputProcSyms :: [Module] -> IO ()Source