CFront

CFront is a library that provides a complete ANSI-C(89) front-end. It can read an input file, preprocess it, parse it, perform semantical checking, and type checking. In addition to that it provides a powerful API for examining and rewriting the CFront Abstract Syntax Tree, and it can write the, possibly modified, AST to a file.

CFront is platform independant, insofar that the platform dependencies can be configured at run-time. There is support for the gcc style __attribute__ mechanism.

• Documentation

Both manuals are still in draft.

• Releases

There is no release yet. If you wish, you can download CFront from the SourceForge CVS server using:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cfront login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cfront co -P .

• Building CFront

CFront requires the following tools and libraries to be built:

Once you have assured yourself that these are all on your system, simply type make. You can find the library and includes in the directory named after your platform (eg: Linux, SunOS, MINGW32).

• Licensing

CFront is licensed under the GPL, and it's copyright by Philips Research.

• Links

CFront is hosted by
SourceForge.net Logo