Transform/Compile to C/CPP as a target

Seb via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 28 12:39:19 PDT 2016


On Saturday, 23 July 2016 at 12:27:24 UTC, ParticlePeter wrote:
> Is there any kind of project or workflow that converts D 
> (subset) to C/CPP ?

Just FYI there is a project that does the reverse.

> Calypso creates a bridge between DMD/LDC and Clang, both at the 
> AST level (DMD <=> Clang's AST, Sema, ...) and at the code 
> generation level (LDC <=> Clang's Codegen) to make D interface 
> directly with the almost full set of C++ features, and no 
> binding is needed.

https://github.com/Syniurge/Calypso


More information about the Digitalmars-d-learn mailing list