2 A recursive descent C99 parser
6 2. Building and Installation
9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 cparser is a recursive descent C99 parser written in C99. It contains lexer,
14 parser, constructs and AST and does semantic analysis. It is currently used as
15 a frontend to the libFirm intermediate representation, but can be used
16 independently. cparser is able to bootstrap itself. It currently uses an
17 external preprocessor.
19 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21 2. Building and Installation
24 * A C99 compiler (gcc and icc are known to work).
25 * pkg-config (recommended)
26 * libFirm-1.12.1 or later
28 Make sure you have installed libFirm and pkg-config can find the libfirm.pc
29 files ("pkg-config --modversion libfirm" should work). Use (GNU)-make to build
32 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 You can contact me at matze@braunis.de
37 You might also visit the #firm channel on irc.freenode.net