Replies: 3 comments
-
BTW, I know about dstep, but that only does headers. |
Beta Was this translation helpful? Give feedback.
-
I have a tool indeed, it's called 'ctod'. I still want to make it compile on Windows and maybe WebAssembly using ImportC before publishing it, but in the meantime, I updated the repo and made it public: https://github.com/dkorpel/ctod I hope you can find some use out of it. |
Beta Was this translation helpful? Give feedback.
-
Woohoo! yes, that is awesome, I will definitely make use of it. That it doesn't work on Windows is of no concern to me, I only need to run it once. Thanks for sharing it! |
Beta Was this translation helpful? Give feedback.
-
I'm actually working on a c->d translation of raylib. It actually includes a complete copy of glfw, and I'm using bindbc-glfw to define the imports.
I would eventually love to switch to glfw-d, but that is far off in the future, once the port is complete.
For now, I'm wondering (hoping) that you might have a tool for translating C code to D, and that's how you made this project? Or are you slogging through it by hand like I am? Just something to take away some of the tediousness, like rewriting casts, or NULL to null, etc.
Beta Was this translation helpful? Give feedback.
All reactions