digitalmars.D - DMC, GCC-XML and .h->.d
- Hans W. Uhlig (6/6) Mar 25 2008 I was reviewing the code for bcd.gen and was curious, is there a way to
- Jarrett Billingsley (5/11) Mar 25 2008 That's pretty much precisely what htod (available on the DM site) is. I...
I was reviewing the code for bcd.gen and was curious, is there a way to integrate its functionality into dmc for hybrid projects. Since D is meant to integrate C code somewhat natively via linking and the DMD/DMC suites are interlinked. Would it be possible to build a similar generator into the DMC frontend to create the neccessary D header code based on the symbols and structure that the DMC frontend engine produces?
Mar 25 2008
"Hans W. Uhlig" <huhlig clickconsulting.com> wrote in message news:fsbn52$21oq$1 digitalmars.com...I was reviewing the code for bcd.gen and was curious, is there a way to integrate its functionality into dmc for hybrid projects. Since D is meant to integrate C code somewhat natively via linking and the DMD/DMC suites are interlinked. Would it be possible to build a similar generator into the DMC frontend to create the neccessary D header code based on the symbols and structure that the DMC frontend engine produces?That's pretty much precisely what htod (available on the DM site) is. It's DMC with a backend that outputs .d files instead of object files. Except that it isn't as complete as bcd.gen.
Mar 25 2008