- parsing of __based implemented (more semantic in assignment might be needed)
[cparser] / README
1                                    cparser
2                          A recursive descent C99 parser
3
4 Contents:
5 1. Introduction
6 2. Building and Installation
7 3. Contact
8
9 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10
11 1. Introduction
12
13 cparser is a recursive descent C99 parser written in C99. It contains lexer,
14 parser, constructs an 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.
18
19 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20
21 2. Building and Installation
22
23 Requirements:
24  * A C99 compiler (gcc and icc are known to work).
25  * pkg-config (recommended)
26  * libFirm-1.12.1 or later
27
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
30 cparser.
31
32 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
34 4. Contact
35
36 You can contact me at matze@braunis.de
37 You might also visit the #firm channel on irc.freenode.net