glados-1.0.0.0: Generic Language and Data Operand Syntax
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ast.Parser.PreProcessor

Synopsis

Documentation

preprocess :: String -> Parser String Source #

Preprocesses a source file by handling imports, defines, and other preprocessing tasks. It recursively resolves imports and applies preprocessing rules to the source. Returns the fully preprocessed source code as a String.