On Saturday, 28 May 2016 at 11:02:37 UTC, Loïc HAMOT wrote:
I am working on a C++ to D converter.
The project is opensource, on github :
Clang is used to parse the C++ code and get the abstract syntax
tree. Then I can visit the AST to print it to D language.
Some tricks are used to convert the simplest macros to mixin.
Some C++ features which are not straightforward to convert are
already handled, like (A not exhaustive list):
call base constructor
left or right
class/struct partial specialization
Some examples here :
If somebody is interested to use this software, or to
participate, do not hesitate to contact me.
That's a great project! IIRC Walter still searches for someone to
convert the dmd backend to D.
Btw do you know about Daniel's porting tool that was used to
migrate the dmd frontend to D?