Projects / libfirm cparser

libfirm cparser

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
Licenses
Operating Systems
Implementation

Recent releases

  •  23 Dec 2011 10:43

    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.

    •  18 Apr 2011 14:03

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

      •  15 Apr 2010 16:24

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

        •  01 Dec 2008 18:11

          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.

          •  01 Aug 2008 19:56

            No changes have been submitted for this release.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.