Re: C++ to D converter based on clang

2016-06-01 Thread Loïc HAMOT via Digitalmars-d-announce
On Wednesday, 1 June 2016 at 06:45:09 UTC, Jacob Carlborg wrote: On 2016-05-28 13:02, Loïc HAMOT wrote: Hello, I am working on a C++ to D converter. The project is opensource, on github : https://github.com/lhamot/CPP2D Is there a reason to reinvent the wheel instead of contributing to

Re: C++ to D converter based on clang

2016-05-28 Thread Loïc HAMOT via Digitalmars-d-announce
On Saturday, 28 May 2016 at 11:26:23 UTC, Seb wrote: On Saturday, 28 May 2016 at 11:02:37 UTC, Loïc HAMOT wrote: Hello, I am working on a C++ to D converter. The project is opensource, on github : https://github.com/lhamot/CPP2D [...] If somebody is interested to use this software, or to

C++ to D converter based on clang

2016-05-28 Thread Loïc HAMOT via Digitalmars-d-announce
Hello, I am working on a C++ to D converter. The project is opensource, on github : https://github.com/lhamot/CPP2D 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