December 27, 2017 tooling/help for rewriting C projects with betterC | ||||
---|---|---|---|---|
| ||||
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. |
December 28, 2017 Re: tooling/help for rewriting C projects with betterC | ||||
---|---|---|---|---|
| ||||
Posted in reply to yawniek | 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 |
Copyright © 1999-2021 by the D Language Foundation