cpp, the c preprocessor can do the macro expansion
does not have to get C handed to it
also commonly available on linux distros
tomp

On 02/01/2016 12:27 PM, Chris Albertson wrote:
> I was thinking about using "m4".  It is a macro processor that is already
> on every Linux/Unix system and I think all Macs too.
> m4 will copy its input to its output except when it sees a macro which it
> will expend.  while expanding a macro it can run any shell program or use
> it's own features.   So a trivial m4 file would be just one line that reads
> "hello world".   I think M4 wins for having and shortest posable hello
> world program.  I could us Java or Perl or whatever but I'd just be
> re-implementing m4.
>
> On Sun, Jan 31, 2016 at 6:19 AM, Mark <wendt.m...@gmail.com> wrote:
>
>> On 01/30/2016 08:57 PM, craig wrote:
>> ....
>>> Being almost undocumented my code would not be much use to anyone else
>>> but the approach might.
>>>
>>> craig
>>
>> Birds of a feather I would say.  I did kinda the same thing with Perl.  ;-)
>>
>> Mark
>>
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>> _______________________________________________
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
>


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to