On 5 April 2015 at 21:37, Benjamin Thaut via Digitalmars-d <[email protected]> wrote: > On Sunday, 5 April 2015 at 18:30:16 UTC, Andrei Alexandrescu wrote: >> >> On 4/5/15 10:32 AM, Benjamin Thaut wrote: >>> >>> Am 03.04.2015 00:44, schrieb Andrei Alexandrescu: >>>> >>>> switching to ddmd, hopefully with 2.068. >>>> >>>> Andrei >>> >>> >>> That sounds nice, I just hope that there is going to be some nice >>> migration path for people currently working on Pull-Requests for the C++ >>> Version of dmd. I would prefer to not redo all the changes in D code. >> >> >> Daniel, any thoughts? Can we help with tooling? -- Andrei > > > Shouldn't it be possible to tag the last C++ version of dmd? Then rebase the > pull-reuqest on top of that and run it through the C++ to D conversion tool. > Afterwards the output of the tool could be used to do a diff against the > first D version of dmd (tagged again). This diff could then be used as a > starting point for a new pull request. This will obviously not be perfect > and might require some additional manual merging but at least people with > larger pull requests (like me) don't have to redo the entire thing. A page > with instructions how to do this conversion should be enough. Main points in > question beeing, where to get the conversion tool and how to use it. >
Have a look here: https://github.com/D-Programming-Language/dmd/pull/3410 I believe the first goal is to get the automated conversion in as part of the autotester. So any new PRs in will go through compilation (in C++), automated conversion to D, then re-compilation (in D). If the PR cannot be automatically converted to D, then you'll need to fix it up in order to make conversion possible. Regards Iain
