JCPP is a complete, compliant, standalone, pure
Java implementation of the C preprocessor. It is
intended to be of use to people writing C-style
compilers in Java using tools like sablecc, antlr,
JLex, CUP, and so forth. It has been used to
successfully preprocess much of the source code of
the GNU C library. The stated license is GPL, but
additional license terms are freely available from
the author.
License: GNU General Public License v2
Changes:
The main routine now behaves almost exactly as GNU
cpp. The API is more consistent and easier to use.
More warning types and feature hooks were
implemented.