built in import c header files
Max Haughton
maxhaton at gmail.com
Fri Apr 23 00:03:36 UTC 2021
On Thursday, 22 April 2021 at 23:10:36 UTC, 12345swordy wrote:
> On Thursday, 22 April 2021 at 20:12:07 UTC, jmh530 wrote:
>> On Thursday, 22 April 2021 at 19:35:36 UTC, 12345swordy wrote:
>>> On Thursday, 22 April 2021 at 07:34:42 UTC, RazvanN wrote:
>>>> [...]
>>>
>>> Anyways, I respectfully disagree, d should import c99
>>> standard with no compiler extensions out of the box. Zig can
>>> do it, why not d?
>>>
>>> -Alex
>>
>> I don't see why it would be a good idea for DMD/GDC to then be
>> dependent on libclang. Zig only has one compiler back end
>> (LLVM) to worry about.
>>
>> A dpp that works for 99% of C code is a pretty great thing. It
>> will only get better as more people use it.
>
> Why do people keep bringing up libclang here? I am not
> referring to libclang nor dpp as it does more than c here.
> -Alex
Implementing C? Not the end of the world, but still a big job.
Implementing a C preprocessor? Nightmare.
More information about the Digitalmars-d
mailing list