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.