ImportC can now automatically run the preprocessor

jmh530 john.michael.hall at gmail.com
Mon May 16 14:42:12 UTC 2022


On Monday, 16 May 2022 at 13:20:32 UTC, Adam D Ruppe wrote:
> On Monday, 16 May 2022 at 05:06:02 UTC, Walter Bright wrote:
>> But what I'd do is put that use of the macro in a .c file and 
>> import it.
>
> This is impractical for the small expressions many of these 
> macros are designed for. You might as well just write C at that 
> point.

I feel like Walter asking about use case could also consider his 
words earlier in the thread:

> I've done many projects that were universally derided as "who 
> needs that" until they got their hands on it. :-)
> 
> I've also done many projects that everybody wanted, until I 
> delivered it. (dscript)
> 
> It's kinda hard to tell these things in advance, especially if 
> they involve a change in the way people are used to doing 
> things."


More information about the Digitalmars-d mailing list