cpp replaced by m4?

Steven W. Orr steveo at syslang.net
Tue Jul 3 12:05:05 EDT 2007


On Tuesday, Jul 3rd 2007 at 11:56 -0400, quoth Bill Sconce:

=>> => Can we have an example of why you want to do this?
=>> 
=>> Sure. For starters, one thing that we're looking to do:
=>> 
=>> Loops.
=>> 
=>> int *arr[]() = {
=>> #for ii in l1 l2 l3 l4 etc
=>> #do
=>>     func##cpp_eval(ii),
=>> #done
=>>     };
=>
=>
=>Ah.  He wants Python...
=>
=>:)  :)

Actually no. Another friend suggest that perl could do it. But what I 
really want is macro processing, not to write my C code from another 
script. The best thing would be a drop in module to replace cpp. M4 would 
be ok, it's the setup that's the hard part.

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net


More information about the gnhlug-discuss mailing list