March 25, 2008 DMC, GCC-XML and .h->.d | ||||
|---|---|---|---|---|
| ||||
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? | ||||
March 25, 2008 Re: DMC, GCC-XML and .h->.d | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Hans W. Uhlig | "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. | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply