Skip to content

wirebed/cparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cparser - A C99 parser (with gnu extensions)

  1. Introduction

cparser is a recursive descent C99 parser written in C99. It contains 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. cparser is able to bootstrap itself. It currently uses an external preprocessor.

  1. Building and Installation

Requirements:

  • A C99 compiler (gcc and icc are known to work).
  • pkg-config (recommended)
  • libFirm-1.12.1 or later

Make sure you have installed libFirm and pkg-config can find the libfirm.pc files ("pkg-config --modversion libfirm" should work). Use (GNU)-make to build cparser.

  1. Contact

There's a Bugtracker at http://pp.info.uni-karlsruhe.de/~firm/bugs You can contact me at [email protected] You might also visit the #firm channel on irc.freenode.net

About

C99 parser and frontend for libfirm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.9%
  • Roff 1.1%
  • C++ 0.9%
  • Makefile 0.6%
  • CMake 0.3%
  • Python 0.1%
  • Shell 0.1%