Add ImportC compiler to dmd

Dibyendu Majumdar mobile at majumdar.org.uk
Sun May 16 19:22:25 UTC 2021


On Sunday, 16 May 2021 at 19:12:26 UTC, Walter Bright wrote:
> On 5/16/2021 3:51 AM, Dibyendu Majumdar wrote:
>> I think that if this feature is going to added, then it makes 
>> sense to ensure that a test suite is present to prove its 
>> correctness. Users should not be expected to pay for wrong 
>> implementation. Perhaps the MIR C test suite I referred to 
>> earlier can be used to validate the implementation; I think it 
>> has good coverage of standard C and the tests are also small.
>
> The Mir suite does look usable and good. I'm a bit concerned 
> about the license for it, as I'd like to install the test suite 
> on github.

Yes, the tests are sourced from various places, and some are GPL. 
I suppose it can be put into a standalone test repo so as not to 
contaminate D license with GPL.


More information about the Digitalmars-d mailing list