digitalmars.D - tooling/help for rewriting C projects with betterC
- yawniek (8/8) Dec 27 2017 is there any tooling or tutorials on how one would approach a
- Jacob Carlborg (7/16) Dec 28 2017 There's DStep [1], but that will only translate the headers to D
is there any tooling or tutorials on how one would approach a (partial) rewrite for bigger C projects that use e.g. cmake ? is there a way parts of it could be automated (if so which parts) ? this might help D a lot if people that want to learn/rewrite a library would get support and appropriate tooling. also best practices and help on how C patterns can be transformed to (safe!) d code.
Dec 27 2017
On 2017-12-27 21:48, yawniek wrote:is there any tooling or tutorials on how one would approach a (partial) rewrite for bigger C projects that use e.g. cmake ? is there a way parts of it could be automated (if so which parts) ? this might help D a lot if people that want to learn/rewrite a library would get support and appropriate tooling. also best practices and help on how C patterns can be transformed to (safe!) d code.There's DStep [1], but that will only translate the headers to D modules. If you try it, please build it yourself from master. The binaries are very old. [1] https://github.com/jacob-carlborg/dstep -- /Jacob Carlborg
Dec 28 2017