Portability | ghc |
---|---|
Stability | experimental |
Maintainer | benedikt.huber@gmail.com |
Language.C parser
- parseC :: InputStream -> Position -> Either ParseError CTranslUnit
- newtype ParseError = ParseError ([String], Position)
Documentation
parseC :: InputStream -> Position -> Either ParseError CTranslUnitSource
parseC input initialPos
parses the given preprocessed C-source input and returns the AST or a list of parse errors.