Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ulowell!redsox!campbell From: campbell@redsox.bsw.com (Larry Campbell) Newsgroups: comp.lang.c Subject: Re: C macros (was comma operator: keep away?) Message-ID: <741@redsox.bsw.com> Date: 28 Apr 89 10:28:23 GMT References: <19913@iuvax.cs.indiana.edu> <10092@smoke.BRL.MIL> <1317@ns.network.com> <17109@mimsy.UUCP> <1333@ns.network.com> Reply-To: campbell@redsox.UUCP (Larry Campbell) Organization: The Boston Software Works, Inc. Lines: 18 In article <1333@ns.network.com> ddb@ns.UUCP (David Dyer-Bennet) writes: - - ...I still -think a "real" macro facility is important / very useful in and of itself, -for various things particularly including static table initialization. -(I got exposed to powerful macros in dec's MACRO-10/20, then BLISS. Even -the stuff in MASM for a pc is pretty useful (and looks remarkably like -macro 10/20).) I prefer the UNIX approach, which is to keep the text processing tools separate. The BLISS macro facility is nice (although very difficult to learn completely), but can only be used in BLISS programs. On UNIX, you can do everything the BLISS macros allowed (and more) with a combination of m4, sed, and awk, and you can use these tools with any language, not just C. -- Larry Campbell The Boston Software Works, Inc. campbell@bsw.com 120 Fulton Street wjh12!redsox!campbell Boston, MA 02146