Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Config = Config {
- configLogBuild :: Bool
- configDump :: Bool
- configInferTypes :: Bool
- configSimplSalt :: Simplifier Int () Name
- configViaBackend :: ViaBackend
- configRuntime :: Config
- configRuntimeLinkStrategy :: RuntimeLinkStrategy
- configBuilder :: Builder
- configPretty :: ConfigPretty
- configSuppressHashImports :: Bool
- configModuleBaseDirectories :: [FilePath]
- configOutputFile :: Maybe FilePath
- configOutputDir :: Maybe FilePath
- configKeepLlvmFiles :: Bool
- configKeepSeaFiles :: Bool
- configKeepAsmFiles :: Bool
- configTaintAvoidTypeChecks :: Bool
- data ConfigPretty = ConfigPretty {}
- defaultConfigPretty :: ConfigPretty
- prettyModeOfConfig :: ConfigPretty -> PrettyMode (Module a n)
- objectPathsOfConfig :: Config -> FilePath -> (FilePath, [FilePath])
- exePathOfConfig :: Config -> FilePath -> FilePath
- data ViaBackend
- data RuntimeLinkStrategy
Documentation
Configuration for main compiler stages.
Config | |
|
data ConfigPretty Source #
Core language pretty printer configuration.
defaultConfigPretty :: ConfigPretty Source #
Default pretty printer configuration.
prettyModeOfConfig :: ConfigPretty -> PrettyMode (Module a n) Source #
Convert a the pretty configuration into the mode to use to print a module.
We keep the ConfigPretty
type separate from PrettyMode because the
former can be non-recursive with other types, and does not need to be
parameterised by the annotation or name types.
Given the name of a source file, determine the where the object files should go.
The first component of the result is where we should put produced object files, The second are paths of where we might find pre-existing objects, in preference order.
Given the name of a source file, determine where we should put an executable built from it.
data ViaBackend Source #
data RuntimeLinkStrategy Source #
LinkDefault | Use the platform's default strategy. |
LinkStatic | Link the runtime statically. |