FrontC is an OCAML library providing a C parser and lexer. The result is a syntactic tree easy to process with usual OCAML tree management.
It provides support for ANSI C syntax, old-C K&R style syntax and the standard GNU CC attributes.
It provides also a C pretty printer as an example of use.
The sources of version 3.4 are available . here
Old Versions
FrontC 3.3 here
FrontC 3.2 here
FrontC 3.1 here
CVS
To download the last sources from the Mercurial repository, you just have to type the following command:
hg clone https://wwwsecu.irit.fr/hg/TRACES/frontc/trunk frontc
And, to build it, type:
$ cd frontc
$ make