language-c-0.3.0: Analysis and generation of C code

Portabilityghc
Stabilityexperimental
Maintainerbenedikt.huber@gmail.com

Language.C.Parser

Description

Language.C parser

Synopsis

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.

newtype ParseError Source

Constructors

ParseError ([String], Position) 

Instances