Could D have fit Microsoft's needs?
Walter Bright
newshound2 at digitalmars.com
Sun Jul 21 05:54:19 UTC 2019
On 7/20/2019 8:27 PM, Laeeth Isharc wrote:
> What's missing is a tool to port C to D. Atila didn't like the idea - 'thats
> what a C compiler is for' but I think it would make a difference. Rust had a
> multimillion dollar DoD grant to support their tool that does this, but it's not
> something out of reach of being a community project I think. One could even use
> their tool that outputs the libclang tool as CBOR. It's just at the other end -
> turning that into a D AST was beyond what I could manage in the time available.
Consider that we already have a C99 compiler at our disposal - DMC. 90% of
making a C to D translator is already done.
It's also intertwined with a C++98 compiler (!)
It's even written in D (!!)
https://github.com/DigitalMars/Compiler/tree/master/dm/src/dmc
More information about the Digitalmars-d
mailing list