!!      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      Safe1=?3hpp6A fully-populated configuration for the pre-processor.hppmPre-processor configuration parameterized over a functor. This is used to normalize partial configurations,  ConfigF Maybe<, and configurations suitable for the pre-processor logic, ConfigF IdentityB. Specifically, the source file name of the file being processed must be set.hppName of the file being preprocessed. Hpp will update this as new files are included. The user must set it manually for the starting input file.hpp(Paths to be searched for included files.hppA backslash as the last character of a line causes the next line to be appended to the current one eliding the newline character present in the source input.hpp#Erase line comments (starting with //$) and block comments (delimited by /* and */).hpp Do not emit #line directives.hppXReplace trigraph sequences (each of which starts with two consecutive question marks ("??"") with the characters they encode. hppFormat string for __DATE__. hppFormat string for __TIME__. hppA  representing a date.hppA  representing a time.hpp7Ensure that required configuration fields are supplied.hpp3Extract the current file name from a configuration.hpp4Extract the include paths name from a configuration.hpp4Determine if continued long lines should be spliced.hpp/Determine if C-style comments should be erased.hpp;Determine if generation of linemarkers should be inhibited.hpp3Determine if trigraph sequences should be replaced.hpp&The date the pre-processor was run on.hpp0The time of the active pre-processor invocation.hppA default configuration with no current file name set. Note that long line splicing is enabled, C++-style comments are erased, #line markers are inhibited, and trigraph replacement is disabled.hpp&Format a date according to the C spec.hpp&Format a time according to the C spec.hppcA default preprocessor configuration with date and time stamps taken from the current system time.hppcLens for the "splice long lines" option (prepend a line ending with a backslash to the next line).hppELens for the "erase C-style comments" option (comments delimited by /* and */). hppkLens for the "inhibit line markers" option. Option to disable the emission of #line pragmas in the output.!hpp(Lens for the "replace trigraphs" option."   !"   !SafeP4_)*+,)*+,SafeA:-hppStringification puts double quotes around a string and backslashes before existing double quote characters and backslash characters..hpp9Remove double quote characters from the ends of a string./hpp0Remove angle brackets from the ends of a string.0hppTrim trailing spaces from a hppMRemove a suffix of a list all of whose elements satisfy the given predicate.1hpp0Similar to the function of the same name in the text package.breakOn needles haystack, finds the first instance of an element of needles in haystack^. The first component of the result is the needle tag, the second component is the prefix of haystackJ before the matched needle, the third component is the remainder of the haystack after the needle..2hppUsed to make switching to the text package easier.-./012-./012Safe%=?gO33hpp?A collection of operations relating to sequences of characters.4hppStringification puts double quotes around a string and backslashes before existing double quote characters and backslash characters.5hpp9Remove double quote characters from the ends of a string.6hppTrim trailing spaces from a 7hpp0Similar to the function of the same name in the text package.breakOn needles haystack, finds the first instance of an element of needles in haystack^. The first component of the result is the needle tag, the second component is the prefix of haystackJ before the matched needle, the third component is the remainder of the haystack after the needle..8hppA special case of 7S in which we are looking for either a special character or a particular substring.EhppBAn opportunity to copy a string to its own storage to help with GC3@?>=864D5CB7<A;E9:FIHGJKLMNOFIHG3@?>=864D5CB7<A;E9:LMNOKJK5Safe%cRhppTokenization is 9 except the white space is tagged rather than discarded.Shpp#Identifiers, symbols, and constantsThppWhite space, etc.UhppExtract the contents of a R.Vhpp if the given R is S;  otherwise.Whpp if the given R is not S;  otherwise.XhppReturn the contents of only S (non-space) tokens.YhppTrim T Rs from both ends of a list of Rs.ZhppIs a R a newline character?hppBreak a $ into space and non-whitespace runs.[hpp[Skip over a string or character literal returning the literal and the remaining the input.hppsplits isDelimiter str tokenizes str using  isDelimiterM as a delimiter predicate. Leading whitespace is also stripped from tokens.hppPredicate on space characters based on something approximating valid identifier syntax. This is used to break apart non-space characters.hppSomething like 12E+FOO& is a single pre-processor token, so FOO should not be macro expanded.\hppBreak an input  into a sequence of Tokensh. Warning: This may not exactly correspond to your target language's definition of a valid identifier!]hppCollapse a sequence of Tokens back into a . detokenize . tokenize == id. RTSUVWXYZ[\] RTSUVWXY]\Z[Safe,SXy5bhppExpressions are literal values, binary operators applied to two sub-expressions, or unary operators applied to a single sub-expression.hppFor 5https://en.wikipedia.org/wiki/Shunting-yard_algorithm referencehppQIf one side of an operator is unsigned, the other side is converted to unsigned.hpp6Precedence of binary operators from lowest to highest.hpp4String literals are split by tokenization. Fix them! hpp]Re-combine positive and negative unary operators with the tokens to which they are attached.!hpp(Re-combine multiple-character operators.fhpppRead a literal integer. These may be decimal, octal, or hexadecimal, and may have a case-insensitive suffix of u, l, or ul."hppLExhaust the function/operator stack returning the parsed expression in RPN.#hpp8Shunting yard algorithm part for dealing with operators.$hppIShunting yard to produce a reverse polish notation (RPN) list of tokens.%hpp-Convert an RPN list of parsed tokens into an b.ghppTry to read an b from a sequence of Rs.hhppPretty-print an b` to something semantically equivalent to the original C syntax (some parentheses may be added).ihppAll bs can be evaluated to an &.'hppevalExpr isDefined e evaluates expression eQ in an environment where the existence of macro definitions is captured by the  isDefined+ predicate. All expressions evaluate to an &!bcdefghibcdefghiSafe=?SX_hpp6There are object-like macros and function-like macros.hpp4An object-like macro is replaced with its definitionhppA function-like macro of some arity taks macro-expanded and raw versions of its arguments, then substitutes them into a body producing a new set of tokens.hppMacro expansion involves treating tokens differently if they appear in the original source or as the result of a previous macro expansion. This distinction is used to prevent divergence by masking out definitions that could be used recursively.sThings are made somewhat more complicated than one might expect due to the fact that the scope of this masking is not structurally recursive. A object-like macro can expand into a fragment of a macro function application, one of whose arguments is a token matching the original object-like macro. That argument should not be expanded.hpp=An interpreter capability of threading a binding environment.hpp2An interpreter capability to modify dynamic state.hppAA free monad transformer specialized to HppF as the base functor.hpp is a monad with  as its base functor.hppcA free monad construction to strictly delimit what capabilities we need to perform pre-processing.hpp)Dynamic state of the preprocessor engine.hppInitial configurationhppDirectory of input filehpp!Current line number of input filehpp Preprocessor binding environmenthpp)Base functor for a free monad transformerhpp%Hpp can raise various parsing errors.hpp"Error conditions we may encounter.hppA macro binding environment.hpp Line numbers are represented as &shpphppReadFile lineNumber fileName introduces an  #include fileName at the given line number.hpphppReadNext lineNumber fileName introduces an #include_next fileName at the given line number.hpp Looks up a $ in the current environment. If the O is found, the environment is juggled so that subsequent lookups of the same  may evaluate more quickly.CC44Safe.(hppThe first component of each pair represents the end of a known trigraph sequence (each trigraph begins with two consecutive question marks ("??"c). The second component is the single-character equivalent that we substitute in for the trigraph.hppLIf a line ends with a backslash, it is prepended to the following the line.hpp(Remove C-style comments bracketed by @@.hppHRemove C-style comments bracked by @@ and perform trigraph replacement.)hpp-Standard CPP settings for processing C files.*hpp0For Haskell we do not want trigraph replacement.+hpp{No C-style comment removal; no line splicing; no trigraph replacement. This variant only supports macros and conditionals.,hppBIf we don't have a predefined processor, we build one based on a  value. Safe4P_hppA  is a bit of state that carries a source of input consisting of a list of values which are either actions in an underlying monad or sequences of inputs. Thus we have chunks of input values with interspersed effects.hppA 2 is a bit of state that carries a source of input.-hpp)Functions for working with input sources..hppLOur input is a list of values each of which is either an action or a value./hpp;A single pre-processor input is either an action or a value0hpp,Pop the head non-effect element from a list.1hpp7Pop the first non-null, non-effect element from a list.hpp)Push a value back into a parser's source.hpp4Push a stream of values back into a parser's source.hpp Evaluate a  with a given input stream.hpp that throws an error with the given message if no more input is available. This may be used to locate where in a processing pipeline input was unexpectedly exhausted.hpp`Discard all values until one fails to satisfy a predicate. At that point, the failing value is  d, and the  stream stops.hpp]Echo all values until one fails to satisfy a predicate. At that point, the failing value is  d, and the  stream stops.hppA parser on lists of things can embed a parser on things. For example, if we have a parser on lists of words, we can embed a parser on individual words.hppGiven a function with type a -> b, and a partial inverse,  b -> Maybe a*, we can embed a parser on values of type b in a parser on values of type a. Safe%,2hppDeal with the two-character ##J token pasting/splicing operator. We do so eliminating spaces around the ## operator.hpp9Parse the definition of an object-like or function macro.3hppDrop spaces following # characters.4hpp Concatenate tokens separated by ##.5hpp'functionMacro parameters body arguments substitutes  arguments for  parameters in body/ and performs stringification for uses of the #* operator and token concatenation for the ## operator. SafeSX_u6hpp Extract the  payload from a .7hppExpand all macros to the end of the current line or until all in-progress macro invocations are complete, whichever comes last.8hppParse a function application. Arguments are separated by commas, and the application runs until the balanced closing parenthesis. If this is not an application, 9 is returned.:hpp.Emit the tokens of a single argument. Returns c if this is the final argument in an application (indicated by an unbalanced closing parenthesis.;hpphKick this off after an opening parenthesis and it will yield every token up to the closing parenthesis.<hppReturns 9 if this isn't an application;  Left args if we parsed arguments args%, but there is an arity mismatch; or  Right tokens3 if the function application expanded successfully.=hpp0Trim whitespace from both ends of a sequence of  tokens.>hppHCollapse internal whitespace to single spaces, and trim trailing space. SafeܒhppTTake everything up to the end of this branch, drop all remaining branches (if any).hppBDrop the rest of a conditional expression incrementing the given  by the number of lines skipped.?hpp5Skip to the end of a conditional branch. Returns the @. the token that ends this branch if it is an else or elif, or 9, otherwise, and the number of lines skipped. Safe%X_AAhppUReturns everything up to the next newline. The newline character itself is consumed.Bhpp1Run a Stream with a configuration for a new file.hppFHandle preprocessor directives (commands prefixed with an octothorpe).ChppWe want to expand macros in expressions that must be evaluated for conditionals, but we want to take special care when dealing with the meta definedX operator of the expression language that is a predicate on the evaluation environment.hpp9Expands an input line producing a stream of output lines.Safe%,PX_hppInterpret the IO components of the preprocessor. This implementation relies on IO for the purpose of checking search paths for included files.hppLike runHpp , but any #include directives are skipped. These ignored inclusions are tracked in the returned list of files, but note that since extra source files are not opened, any files they might wish to include are not discovered.hpp/Run a stream of lines through the preprocessor.Dhpp;A concreate choice of types to satisfy the constraints of .EhppCGeneral hpp runner against input source file lines; can return an  value if something goes wrong.hppGeneral hpp runner against input source file lines. Output lines are fed to the caller-supplied sink function. Any errors encountered are thrown with F.hpp%hpp runner that returns output lines.  NoneMP hppThe result of running hpphpp/The type of preprocessor actions. Created with  and executed with  or .hppPreprocess lines of input.hppRun a preprocessor action with some initial state. Returns the result of preprocessing as well as an updated preprocessor state representation.hppstreamHpp state sink action runs a preprocessor action with some initial state4. Output is streamed to the caller-provided output sink as it is generated. The list of files read during preprocessing is returned along with an updated preprocessor state representation. hppLike , but does not access the filesystem. Run a preprocessor action with some initial state. Returns the result of preprocessing as well as an updated preprocessor state representation. Since this operation performs no IO, #include~ directives are ignored in terms of the generated output lines, but the files named in those directive are available in the  value returned. hppAn w containing no macro definitions, and default values for the starting configuration: the name of the current file is "NoFile"B, there are no paths to be searched for included files, etc. See 2 for more information on available configuration. hpp Create a  with the given  and . hppaddDefinition name expression adds a binding of name to  expression& in the preprocessor s internal state. hppGLower level parsing of macro definitions. Will typically be used with * for manual construction of a  binding environment.          NoneSXGhpp:Break a string on an equals sign. For example, the string x=y is broken into  [x,"=",y].HhppiIf no space is included between a switch and its argument, break it into two tokens to simplify parsing.hpp-Run Hpp with the given commandline arguments.I !"#$%&'()*+,-./0123456789:;<=>?@A;<>?B@CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~          !"#$%&'( ) * + , - . / 0 1 2 3 4 56 7 8 9 : ; < 5= > ? @AB CDEFG hpp-0.6.2-2tZWvpeQFCi5XH2kvN0fn5 Hpp.ConfigHpp.Env Hpp.String Hpp.StringSig Hpp.TokensHpp.Expr Hpp.TypesHpp.Preprocessing Hpp.Parser Hpp.Macro Hpp.ExpansionHpp.Conditional Hpp.Directive Hpp.RunHppHpp Hpp.CmdLineConfigConfigF curFileNameF includePathsFspliceLongLinesFeraseCCommentsFinhibitLinemarkersFreplaceTrigraphsF prepDateF prepTimeF DateString getDateString TimeString getTimeString realizeConfig curFileName includePathsspliceLongLineseraseCCommentsinhibitLinemarkersreplaceTrigraphsprepDateprepTimedefaultConfigFformatPrepDateformatPrepTimedefaultConfigFNowspliceLongLinesLeraseCCommentsLinhibitLinemarkersLreplaceTrigraphsL$fEqTimeString$fOrdTimeString$fShowTimeString$fEqDateString$fOrdDateString$fShowDateString $fShowConfigFemptyEnv insertPair deleteKey lookupKey stringifyunquotestripAngleBrackets trimSpacesbreakOnconsStringybreakCharOrSubunconssnocunsnocsdropsbreaksall sIsPrefixOfisEmpty readLines putStringytoCharscopy CharOrSub CharMatchSubMatchNoMatchNil:.boolJust predicateJust sdropWhilestripR$fStringyByteString $fStringy[]Token ImportantOtherdetok isImportant notImportant importantstrimUnimportantnewLine skipLiteraltokenize detokenize$fFunctorToken $fEqToken $fOrdToken $fShowTokenExprELitEBinOpEUnaryOp readLitInt parseExpr renderExprevalExpr $fNumCppInt $fOrdCppInt $fEqCppInt $fEqBinOp $fOrdBinOp $fShowBinOp $fEqUnaryOp $fOrdUnaryOp $fShowUnaryOp$fEqLit$fOrdLit $fShowLit $fEqParsed $fOrdParsed $fShowParsed $fEqAssoc $fOrdAssoc $fShowAssoc $fEqFunLike $fOrdFunLike $fShowFunLike$fEqExpr $fOrdExpr $fShowExprLensMacroObjectFunctionScanUnmaskMaskRescanHasEnvgetEnvsetEnv HasHppStategetStatesetStateHppTrunHppTHppFReadFileReadNext WriteOutputHppState hppConfig hppCurDir hppLineNumhppEnvFreeFPureFHasError throwErrorErrorUnterminatedBranchBadMacroDefinitionBadIfPredicateBadLineArgumentIncludeDoesNotExist FailedInclude UserErrorUnknownCommandTooFewArgumentsToMacroBadMacroArguments NoInputFileBadCommandLine RanOutOfInputTOKENStringEnvLineNum hppReadFile hppReadNexthppWriteOutput lookupMacrosetLgetLover emptyHppStateconfigdirlineNumenvuse.=%=$fExceptionError$fHasErrorStateT$fHasErrorExceptT$fFunctorFreeF $fFunctorHppF $fMonadIOHppT$fMonadTransHppT $fMonadHppT$fApplicativeHppT $fFunctorHppT$fHasErrorHppT $fShowMacro$fHasEnvExceptT$fHasEnvStateT$fHasEnvStateT0 $fHasEnvHppT$fHasHppStateHppT$fHasHppStateStateT$fHasHppStateStateT0$fHasHppStateExceptT $fEqError $fOrdError $fShowError$fEqScan $fShowScan$fShowHppStatetrigraphReplacement lineSplicingcCommentRemovalcCommentAndTrigraph prepareInputParserParserTawaitreplaceprecede evalParse awaitJust droppingWhile takingWhileinsertInputSegmentonInputSegment onElements onIsomorphism$fFunctorInputItemparseDefinitionexpandLineState takeBranch dropBranch directivemacroExpansion HppResult hppFilesRead hppResultrunHpp expandHpp preprocess hppIOSinkhppIO HppOutput hppOutput streamHppexpand initHppState addDefinition runWithArgsbaseGHC.BasetrimEnd Data.OldListwordsghc-prim GHC.TypesTrueFalsetokWordssplitsvalidIdentifierChar fixExponentsFunLikeCppInt precedenceBin fixStringLits fixUnaryOps fixBinaryOpsfinishShunting juggleBinOpsshuntRPN rpnToExprInt evalExpr' trigraphs normalCPP haskellCPP onlyMacrosCPP genericConfigSourceInput InputItemunconsMunconsMNonEmptyprepTOKENSplices prepStringifypaste functionMacrounscan expandLineappParse GHC.MaybeNothingargParse parentheticalexpandFunctiontrimScan trimScanAux dropBranchAuxJusttakeLine streamNewFile squashDefinesdischargeHppCaps hppIOSink'GHC.ErrerrorbreakEqs splitSwitches