Generating .di header files from ImportC files

Imperatorn johan_forsberg_86 at hotmail.com
Sat Oct 21 17:31:36 UTC 2023


On Saturday, 21 October 2023 at 17:04:40 UTC, Walter Bright wrote:
> On 10/21/2023 1:12 AM, Imperatorn wrote:
>> Can you expand on how dmd can convert C to D? I didn't quite 
>> get that part.
>
> DMD already has the capability to read in a .d file, then from 
> the AST generate a .di file. Since ImportC gets turned into an 
> AST, too, it can turn that AST into a .di file, too.

I see, nice. I will experiment with that a bit.


More information about the Digitalmars-d mailing list