tooling/help for rewriting C projects with betterC

Jacob Carlborg doob at me.com
Thu Dec 28 09:56:14 UTC 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


More information about the Digitalmars-d mailing list