stefan73
asked on
Standalone C preprocessor source
I'm looking for a source code for a simple C preprocessor. It should be fast, compact and ISO99-compliant. I don't need too many command-line features, -D -U and -I are sufficient. It should run on a U*IX environment (mainly Solaris, but Cygwin would be very helpful, too).
gcc's cpp is too complex for what I have in mind, and Decus cpp lacks proper ISO compatibility.
Any ideas?
gcc's cpp is too complex for what I have in mind, and Decus cpp lacks proper ISO compatibility.
Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
sunnycoder,
wave looks quite promising. I like what I saw on the Spirit library pages.
Let's see how fast it is.
wave looks quite promising. I like what I saw on the Spirit library pages.
Let's see how fast it is.
http://www.c-compiler.com/