cpp replaced by m4?

Jerry Feldman gaf at blu.org
Mon Jul 2 16:47:16 EDT 2007


On Mon, 2 Jul 2007 16:34:45 -0400 (EDT)
"Steven W. Orr" <steveo at syslang.net> wrote:

> I need a better cpp, something that allows me to defer evaluation, create 
> loops, etc.
> 
> Has anyone seen such a setup ready to go? m4 is obviously a candidate, but 
> I'd like to see if someone else has done the work to show how it can be 
> made to be a drop-in replacement (if at all possible).

cpp functionality is defined by the ISO C standard. M4 would be a
reasonable replacement as long as your code is going to be on Unix like
systems. AFAIK, it's not a drop in replacement  (it's been over 10
years since I last worked with m4).

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20070702/e2faceb9/attachment.bin 


More information about the gnhlug-discuss mailing list