C compilers with integrated preprocessors

Henry Spencer henry at utzoo.uucp
Tue Sep 20 07:33:13 AEST 1988


In article <3999 at bsu-cs.UUCP> dhesi at bsu-cs.UUCP (Rahul Dhesi) writes:
>It is agreed that a Real ANSI-conforming C compiler might not supply a
>separate preprocessor pass, but who cares?  Such a C compiler would be
>an instant commercial failure.

Not necessarily.  For one thing, most people buy C compilers to compile C,
not to serve as general-purpose macro processors.  For another, it's quite
possible to have an integrated preprocessor and still support the -P and
-E options to get preprocessed output.  (I've written the code for this,
so please don't try to tell me it can't be done.)
-- 
NASA is into artificial        |     Henry Spencer at U of Toronto Zoology
stupidity.  - Jerry Pournelle  | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list