New Cpp not right for non-C files
C. van Reeuwijk
C.vanReeuwijk@its.tudelft.nl
Tue Aug 1 01:48:00 GMT 2000
> We suggest you use a real general-purpose macro preprocessor, such as
> M4, instead.
<shudder>
Although in theory M4 is capable of doing any substitution job, it, err,
takes some getting used to. There are other preprocessors out there that
are easier to use. One of them is a program that I have written, called
Tm. See < http://www.pds.twi.tudelft.nl/~reeuwijk/software/Tm/index.html >.
Don't be fooled by the emphasis on code generation for data-structure
manipulation, there is a very capable preprocessor in there. The original
poster may even prefer it over cpp.
Tm is a mature program (10 years of active duty), and is available under
the GPL.
--
Kees van Reeuwijk, Delft University of Technology
http://www.pds.twi.tudelft.nl/~reeuwijk
More information about the Gcc-bugs
mailing list