C++ to D converter based on clang

Loïc HAMOT via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jun 1 01:55:07 PDT 2016


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 DStep [1]?
>
> [1] https://github.com/jacob-carlborg/dstep

Hello Jacob.
It think DStep and CPP2D have very different objectives.
DStep target C and Objective-C headers, but CPP2D target C++ full 
source code.

Maybe do you think I could participate to DStep in order to 
extend it to full C++ source handling?
Yes I could. Like I could participate to VisualD/cpp2d or 
magicport2 projects.

But the reason why I didn't is I want to test the feasibility of 
a C++ to D conversion using the clang parser.
Now, I think I passed the proof of concept step, and merge my 
work in an other project is not out of the question.



More information about the Digitalmars-d-announce mailing list