Will it be possible to write a GCC frontend in D?

Adam D Ruppe destructionator at gmail.com
Wed Feb 23 21:33:00 UTC 2022


On Wednesday, 23 February 2022 at 20:42:10 UTC, rempas wrote:
> Do you know where is the updated GDC branch btw?

There is no branch, it is just part of the upstream mainline. see:

https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=gcc/d/dmd;h=454baa71a0d270fb891acdda6fd0215a3d6cb588;hb=HEAD

and yeah it is extern(C++). importC isn't going to be helpful, 
but still, gdc proves you can make a gcc frontend in d.


More information about the Digitalmars-d-learn mailing list