uuagc-bootstrap

Safe Haskell | Safe-Infered

Options

Synopsis

- data Identifier = Ident {
  - getName :: String
  - getPos :: Pos
  }
- type NontermIdent = Identifier
- identifier :: String -> Identifier
- data MyOptDescr = MyOpt [Char] [String] (ArgDescr (Options -> Options)) (Options -> String -> [String]) String
- fromMyOpt :: MyOptDescr -> OptDescr (Options -> Options)
- noOpt :: Options -> String -> [String]
- boolOpt :: (Options -> Bool) -> Options -> String -> [String]
- stringOpt :: (Options -> String) -> Options -> String -> [String]
- mbStringOpt :: (Options -> Maybe String) -> Options -> String -> [String]
- serializeOption :: Options -> MyOptDescr -> [String]
- allOptions :: [MyOptDescr]
- options :: [OptDescr (Options -> Options)]
- allc :: [Char]
- data ModuleHeader
  - = NoName
  - | Name String
  - | Default
- data Options = Options {
  - moduleName :: ModuleHeader
  - dataTypes :: Bool
  - dataRecords :: Bool
  - strictData :: Bool
  - strictWrap :: Bool
  - folds :: Bool
  - semfuns :: Bool
  - typeSigs :: Bool
  - attrInfo :: Bool
  - rename :: Bool
  - wrappers :: Bool
  - modcopy :: Bool
  - newtypes :: Bool
  - nest :: Bool
  - smacro :: Bool
  - outputFiles :: [String]
  - searchPath :: [String]
  - verbose :: Bool
  - prefix :: String
  - withSelf :: Bool
  - withCycle :: Bool
  - showHelp :: Bool
  - showVersion :: Bool
  - visit :: Bool
  - withSeq :: Bool
  - unbox :: Bool
  - bangpats :: Bool
  - cases :: Bool
  - strictCases :: Bool
  - stricterCases :: Bool
  - strictSems :: Bool
  - localCps :: Bool
  - splitSems :: Bool
  - werrors :: Bool
  - wignore :: Bool
  - wmaxerrs :: Int
  - dumpgrammar :: Bool
  - dumpcgrammar :: Bool
  - sepSemMods :: Bool
  - genFileDeps :: Bool
  - genLinePragmas :: Bool
  - genvisage :: Bool
  - genAspectAG :: Bool
  - noGroup :: [String]
  - extends :: Maybe String
  - genAttributeList :: Bool
  - forceIrrefutables :: Maybe String
  - uniqueDispenser :: String
  - lcKeywords :: Bool
  - doubleColons :: Bool
  - monadic :: Bool
  - ocaml :: Bool
  - visitorsOutput :: Bool
  - statsFile :: Maybe String
  - breadthFirst :: Bool
  - breadthFirstStrict :: Bool
  - checkParseRhs :: Bool
  - checkParseTy :: Bool
  - checkParseBlock :: Bool
  - nocatas :: Set NontermIdent
  - noOptimizations :: Bool
  - reference :: Bool
  - kennedyWarren :: Bool
  - parallelInvoke :: Bool
  - tupleAsDummyToken :: Bool
  - dummyTokenVisit :: Bool
  - strictDummyToken :: Bool
  - noPerRuleTypeSigs :: Bool
  - noPerStateTypeSigs :: Bool
  - noEagerBlackholing :: Bool
  - lateHigherOrderBinding :: Bool
  - monadicWrappers :: Bool
  - genTraces :: Bool
  - genUseTraces :: Bool
  - genCostCentres :: Bool
  - noPerRuleCostCentres :: Bool
  - noPerVisitCostCentres :: Bool
  - helpInlining :: Bool
  - noInlinePragmas :: Bool
  - aggressiveInlinePragmas :: Bool
  }
- noOptions :: Options
- moduleOpt :: Maybe String -> Options -> Options
- moduleOptGet :: Options -> String -> [String]
- dataOpt :: Options -> Options
- dataRecOpt :: Options -> Options
- strictDataOpt :: Options -> Options
- strictWrapOpt :: Options -> Options
- cataOpt :: Options -> Options
- semfunsOpt :: Options -> Options
- signaturesOpt :: Options -> Options
- prettyOpt :: Options -> Options
- renameOpt :: Options -> Options
- wrappersOpt :: Options -> Options
- modcopyOpt :: Options -> Options
- newtypesOpt :: Options -> Options
- nestOpt :: Options -> Options
- smacroOpt :: Options -> Options
- verboseOpt :: Options -> Options
- helpOpt :: Options -> Options
- versionOpt :: Options -> Options
- prefixOpt :: String -> Options -> Options
- selfOpt :: Options -> Options
- cycleOpt :: Options -> Options
- visitOpt :: Options -> Options
- seqOpt :: Options -> Options
- unboxOpt :: Options -> Options
- bangpatsOpt :: Options -> Options
- casesOpt :: Options -> Options
- strictCasesOpt :: Options -> Options
- stricterCasesOpt :: Options -> Options
- strictSemOpt :: Options -> Options
- localCpsOpt :: Options -> Options
- splitSemsOpt :: Options -> Options
- werrorsOpt :: Options -> Options
- wignoreOpt :: Options -> Options
- wmaxErrsOpt :: String -> Options -> Options
- wmaxErrsOptGet :: Options -> String -> [String]
- dumpgrammarOpt :: Options -> Options
- dumpcgrammarOpt :: Options -> Options
- genTracesOpt :: Options -> Options
- genUseTracesOpt :: Options -> Options
- genCostCentresOpt :: Options -> Options
- sepSemModsOpt :: Options -> Options
- genFileDepsOpt :: Options -> Options
- genLinePragmasOpt :: Options -> Options
- genVisageOpt :: Options -> Options
- genAspectAGOpt :: Options -> Options
- dummyTokenVisitOpt :: Options -> Options
- tupleAsDummyTokenOpt :: Options -> Options
- stateAsDummyTokenOpt :: Options -> Options
- strictDummyTokenOpt :: Options -> Options
- noPerRuleTypeSigsOpt :: Options -> Options
- noPerStateTypeSigsOpt :: Options -> Options
- noEagerBlackholingOpt :: Options -> Options
- noPerRuleCostCentresOpt :: Options -> Options
- noPerVisitCostCentresOpt :: Options -> Options
- helpInliningOpt :: Options -> Options
- noInlinePragmasOpt :: Options -> Options
- aggressiveInlinePragmasOpt :: Options -> Options
- lateHigherOrderBindingOpt :: Options -> Options
- monadicWrappersOpt :: Options -> Options
- referenceOpt :: Options -> Options
- noGroupOpt :: [Char] -> Options -> Options
- noGroupOptGet :: Options -> [Char] -> [[Char]]
- extendsOpt :: String -> Options -> Options
- genAttrListOpt :: Options -> Options
- forceIrrefutableOpt :: Maybe String -> Options -> Options
- uniqueDispenserOpt :: String -> Options -> Options
- lcKeywordsOpt :: Options -> Options
- doubleColonsOpt :: Options -> Options
- haskellSyntaxOpt :: Options -> Options
- monadicOpt :: Options -> Options
- parallelOpt :: Options -> Options
- ocamlOpt :: Options -> Options
- visitorsOutputOpt :: Options -> Options
- statisticsOpt :: String -> Options -> Options
- breadthfirstOpt :: Options -> Options
- breadthfirstStrictOpt :: Options -> Options
- parseHsRhsOpt :: Options -> Options
- parseHsTpOpt :: Options -> Options
- parseHsBlockOpt :: Options -> Options
- parseHsOpt :: Options -> Options
- kennedyWarrenOpt :: Options -> Options
- noOptimizeOpt :: Options -> Options
- nocatasOpt :: [Char] -> Options -> Options
- nocatasOptGet :: Options -> [Char] -> [[Char]]
- outputOpt :: String -> Options -> Options
- outputOptGet :: Options -> String -> [String]
- searchPathOpt :: [Char] -> Options -> Options
- searchPathOptGet :: Options -> [Char] -> [[Char]]
- allOpt :: Options -> Options
- optimizeOpt :: Options -> Options
- condDisableOptimizations :: Options -> Options
- constructOptions :: [Options -> Options] -> Options
- getOptions :: [String] -> (Options, [String], [String])
- optionsToString :: Options -> [String]
- combineOptions :: Options -> Options -> Options

# Documentation

data Identifier

Constructors

Ident |

Fields

getName :: String
getPos :: Pos

Instances

Eq Identifier |
Ord Identifier |
Show Identifier |
PP Identifier |

type NontermIdent = Identifier

identifier :: String -> Identifier

data MyOptDescr

Constructors

MyOpt [Char] [String] (ArgDescr (Options -> Options)) (Options -> String -> [String]) String |

fromMyOpt :: MyOptDescr -> OptDescr (Options -> Options)

noOpt :: Options -> String -> [String]

boolOpt :: (Options -> Bool) -> Options -> String -> [String]

stringOpt :: (Options -> String) -> Options -> String -> [String]

mbStringOpt :: (Options -> Maybe String) -> Options -> String -> [String]

serializeOption :: Options -> MyOptDescr -> [String]

allOptions :: [MyOptDescr]

options :: [OptDescr (Options -> Options)]

allc :: [Char]

data ModuleHeader

Constructors

NoName |
Name String |
Default |

Instances

Eq ModuleHeader |
Show ModuleHeader |

data Options

Constructors

Options |

Fields

moduleName :: ModuleHeader
dataTypes :: Bool
dataRecords :: Bool
strictData :: Bool
strictWrap :: Bool
folds :: Bool
semfuns :: Bool
typeSigs :: Bool
attrInfo :: Bool
rename :: Bool
wrappers :: Bool
modcopy :: Bool
newtypes :: Bool
nest :: Bool
smacro :: Bool
outputFiles :: [String]
searchPath :: [String]
verbose :: Bool
prefix :: String
withSelf :: Bool
withCycle :: Bool
showHelp :: Bool
showVersion :: Bool
visit :: Bool
withSeq :: Bool
unbox :: Bool
bangpats :: Bool
cases :: Bool
strictCases :: Bool
stricterCases :: Bool
strictSems :: Bool
localCps :: Bool
splitSems :: Bool
werrors :: Bool
wignore :: Bool
wmaxerrs :: Int
dumpgrammar :: Bool
dumpcgrammar :: Bool
sepSemMods :: Bool
genFileDeps :: Bool
genLinePragmas :: Bool
genvisage :: Bool
genAspectAG :: Bool
noGroup :: [String]
extends :: Maybe String
genAttributeList :: Bool
forceIrrefutables :: Maybe String
uniqueDispenser :: String
lcKeywords :: Bool
doubleColons :: Bool
monadic :: Bool
ocaml :: Bool
visitorsOutput :: Bool
statsFile :: Maybe String
breadthFirst :: Bool
breadthFirstStrict :: Bool
checkParseRhs :: Bool
checkParseTy :: Bool
checkParseBlock :: Bool
nocatas :: Set NontermIdent
noOptimizations :: Bool
reference :: Bool
kennedyWarren :: Bool
parallelInvoke :: Bool
tupleAsDummyToken :: Bool
dummyTokenVisit :: Bool
strictDummyToken :: Bool
noPerRuleTypeSigs :: Bool
noPerStateTypeSigs :: Bool
noEagerBlackholing :: Bool
lateHigherOrderBinding :: Bool
monadicWrappers :: Bool
genTraces :: Bool
genUseTraces :: Bool
genCostCentres :: Bool
noPerRuleCostCentres :: Bool
noPerVisitCostCentres :: Bool
helpInlining :: Bool
noInlinePragmas :: Bool
aggressiveInlinePragmas :: Bool

Instances

Eq Options |
Show Options |

noOptions :: Options

moduleOpt :: Maybe String -> Options -> Options

moduleOptGet :: Options -> String -> [String]

dataOpt :: Options -> Options

dataRecOpt :: Options -> Options

strictDataOpt :: Options -> Options

strictWrapOpt :: Options -> Options

cataOpt :: Options -> Options

semfunsOpt :: Options -> Options

signaturesOpt :: Options -> Options

prettyOpt :: Options -> Options

renameOpt :: Options -> Options

wrappersOpt :: Options -> Options

modcopyOpt :: Options -> Options

newtypesOpt :: Options -> Options

nestOpt :: Options -> Options

smacroOpt :: Options -> Options

verboseOpt :: Options -> Options

helpOpt :: Options -> Options

versionOpt :: Options -> Options

prefixOpt :: String -> Options -> Options

selfOpt :: Options -> Options

cycleOpt :: Options -> Options

visitOpt :: Options -> Options

seqOpt :: Options -> Options

unboxOpt :: Options -> Options

bangpatsOpt :: Options -> Options

casesOpt :: Options -> Options

strictCasesOpt :: Options -> Options

stricterCasesOpt :: Options -> Options

strictSemOpt :: Options -> Options

localCpsOpt :: Options -> Options

splitSemsOpt :: Options -> Options

werrorsOpt :: Options -> Options

wignoreOpt :: Options -> Options

wmaxErrsOpt :: String -> Options -> Options

wmaxErrsOptGet :: Options -> String -> [String]

dumpgrammarOpt :: Options -> Options

dumpcgrammarOpt :: Options -> Options

genTracesOpt :: Options -> Options

genUseTracesOpt :: Options -> Options

genCostCentresOpt :: Options -> Options

sepSemModsOpt :: Options -> Options

genFileDepsOpt :: Options -> Options

genLinePragmasOpt :: Options -> Options

genVisageOpt :: Options -> Options

genAspectAGOpt :: Options -> Options

dummyTokenVisitOpt :: Options -> Options

tupleAsDummyTokenOpt :: Options -> Options

stateAsDummyTokenOpt :: Options -> Options

strictDummyTokenOpt :: Options -> Options

noPerRuleTypeSigsOpt :: Options -> Options

noPerStateTypeSigsOpt :: Options -> Options

noEagerBlackholingOpt :: Options -> Options

noPerRuleCostCentresOpt :: Options -> Options

noPerVisitCostCentresOpt :: Options -> Options

helpInliningOpt :: Options -> Options

noInlinePragmasOpt :: Options -> Options

aggressiveInlinePragmasOpt :: Options -> Options

lateHigherOrderBindingOpt :: Options -> Options

monadicWrappersOpt :: Options -> Options

referenceOpt :: Options -> Options

noGroupOpt :: [Char] -> Options -> Options

noGroupOptGet :: Options -> [Char] -> [[Char]]

extendsOpt :: String -> Options -> Options

genAttrListOpt :: Options -> Options

forceIrrefutableOpt :: Maybe String -> Options -> Options

uniqueDispenserOpt :: String -> Options -> Options

lcKeywordsOpt :: Options -> Options

doubleColonsOpt :: Options -> Options

haskellSyntaxOpt :: Options -> Options

monadicOpt :: Options -> Options

parallelOpt :: Options -> Options

ocamlOpt :: Options -> Options

visitorsOutputOpt :: Options -> Options

statisticsOpt :: String -> Options -> Options

breadthfirstOpt :: Options -> Options

breadthfirstStrictOpt :: Options -> Options

parseHsRhsOpt :: Options -> Options

parseHsTpOpt :: Options -> Options

parseHsBlockOpt :: Options -> Options

parseHsOpt :: Options -> Options

kennedyWarrenOpt :: Options -> Options

noOptimizeOpt :: Options -> Options

nocatasOpt :: [Char] -> Options -> Options

nocatasOptGet :: Options -> [Char] -> [[Char]]

outputOpt :: String -> Options -> Options

outputOptGet :: Options -> String -> [String]

searchPathOpt :: [Char] -> Options -> Options

searchPathOptGet :: Options -> [Char] -> [[Char]]

allOpt :: Options -> Options

optimizeOpt :: Options -> Options

condDisableOptimizations :: Options -> Options

constructOptions :: [Options -> Options] -> Options

Use all parsed options to generate real options

getOptions :: [String] -> (Options, [String], [String])

Create Options type from string arguments

optionsToString :: Options -> [String]

Convert options back to commandline string

combineOptions :: Options -> Options -> Options

Combine 2 sets of options