frostc-1.0.0.0: The Frost Programming Language Compiler
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.