[GSoC] Header Generation for C/C++

Seb seb at wilzba.ch
Wed Jul 17 13:48:08 UTC 2019


On Wednesday, 17 July 2019 at 13:35:35 UTC, Iain Buclaw wrote:
>
> But apart from the construction (and possible destruction) of 
> all frontend types, there shouldn't be anything duplicated.
>
> Did you consider cross compiler generation?

Motivations for doing it inside DMD instead of a separate library:

- DMD frontend isn't stable (AST nodes are often changed)
- DMD frontend isn't SemVer-tagged (so you can only rely on 
~master)
- people expressed a lot of interest in this being integrated 
directly
- easier bootstrapping (though not really a concern if we require 
the generated headers to be checked into the dmd repository)


More information about the Digitalmars-d mailing list