cparser is a recursive descent C99 parser written in C99. It contains a lexer, parser, constructs an AST, and does semantic analysis. It is currently used as a frontend to the libFirm intermediate representation, but can be used independently. It supports lots of GNU extensions: enough to parse Linux/BSD system headers and compile typical C projects with it. It is able to bootstrap itself, and compiles and runs the spec CINT2000 without problems.
| Tags | Software Development Compilers |
|---|---|
| Licenses | GPLv2 |
| Operating Systems | OS Independent |
| Implementation | C |
Recent releases


Release Notes: This releases accompanies the libFirm-1.20.0 release and adapts to the API changes. It also features improved commandline help, shows columns in addition to lines in error/warning messages, and contains the usual bunch of bugfixes.


Release Notes: The code was adapted to the latest libfirm release (1.19.0). Some new flags for easier cross-compilation have been added.


Release Notes: There are some bugfixes, and the changes needed to support libfirm 1.18.0 are implemented.


Release Notes: Improved error recovery and more robust semantic checks. Several warning messages have been clarified. More GNU extensions and gcc compiler switches are supported. Some libc builtins can be handled and inlined by the compiler now.


No changes have been submitted for this release.