Add ImportC compiler to dmd

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat May 15 16:03:01 UTC 2021


On 5/15/21 4:34 AM, Markk wrote:
> On Monday, 10 May 2021 at 09:27:35 UTC, Walter Bright wrote:
> 
>> Since this is all front end work, and it translates the C code into D 
>> AST nodes, it should "just work".
> 
> With that crucial information added it suddenly made perfect sense to me.
> 
> Brilliant!

ImportC is one of the coolest hacks I've seen in many years.

To think it took only 4 KLOC. I can't find my behind with a map in 4 KLOC.




More information about the Digitalmars-d mailing list