D to C++

Cauterite via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 31 05:19:33 PDT 2016


On Wednesday, 31 August 2016 at 11:43:12 UTC, Nick wrote:
> That's quite nice, but not what I'm looking for.
> What Calypso does, as far as I can see, is to make it possible 
> to compile C++ and D together. I'm looking for a compiler that 
> takes in D code and spits out either C or C++ code.

Your best option would be to use LDC with a C backend:
https://www.google.com/search?q=llvm++c+backend
No idea how well supported this is, I've never used LLVM myself.


More information about the Digitalmars-d-learn mailing list