Safe Haskell | None |
---|---|
Language | Haskell2010 |
- compile :: [Module] -> [Located Artifact] -> IO ()
- compileWith :: [Module] -> [Located Artifact] -> IO ()
- runCompiler :: [Module] -> [Located Artifact] -> Opts -> IO ()
- runCompilerWith :: [Module] -> [Located Artifact] -> Opts -> IO ()
- data Opts = Opts {
- outDir :: Maybe FilePath
- outHdrDir :: Maybe FilePath
- outArtDir :: Maybe FilePath
- otherHdr :: Maybe String
- constFold :: Bool
- overflow :: Bool
- divZero :: Bool
- ixCheck :: Bool
- fpCheck :: Bool
- outProcSyms :: Bool
- bitShiftCheck :: Bool
- cfg :: Bool
- cfgDotDir :: FilePath
- cfgProc :: [String]
- verbose :: Bool
- srcLocs :: Bool
- tcWarnings :: Bool
- tcErrors :: Bool
- scErrors :: Bool
- help :: Bool
- parseOpts :: [String] -> IO Opts
- printUsage :: [String] -> IO ()
- initialOpts :: Opts
- compileUnits :: [Module] -> Opts -> IO [CompileUnits]
- outputCompiler :: [CompileUnits] -> [Located Artifact] -> Opts -> IO ()
Documentation
Opts | |
|
printUsage :: [String] -> IO () Source #
initialOpts :: Opts Source #
compileUnits :: [Module] -> Opts -> IO [CompileUnits] Source #
Compile, type-check, and optimize modules, but don't generate C files.
outputCompiler :: [CompileUnits] -> [Located Artifact] -> Opts -> IO () Source #