www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Walter: htod on github?

reply Lionello Lunesu <lionello lunesu.remove.com> writes:
Walter,

Any chance we can get the source of htod? If found it a very useful 
little utility, although there are many issues with it.

VisualD also include a similar utility to convert header files to D, but 
it is more tuned to Windows header files. Perhaps we can combine the two 
into a new utility?

Lio.
May 27 2013
next sibling parent reply "Diggory" <diggsey googlemail.com> writes:
On Tuesday, 28 May 2013 at 02:32:24 UTC, Lionello Lunesu wrote:
 Walter,

 Any chance we can get the source of htod? If found it a very 
 useful little utility, although there are many issues with it.

 VisualD also include a similar utility to convert header files 
 to D, but it is more tuned to Windows header files. Perhaps we 
 can combine the two into a new utility?

 Lio.
I think htod is based on dmc so open sourcing it would be a problem.
May 27 2013
parent reply Lionello Lunesu <lionello lunesu.remove.com> writes:
On 5/28/13 11:08, Diggory wrote:
 On Tuesday, 28 May 2013 at 02:32:24 UTC, Lionello Lunesu wrote:
 Walter,

 Any chance we can get the source of htod? If found it a very useful
 little utility, although there are many issues with it.

 VisualD also include a similar utility to convert header files to D,
 but it is more tuned to Windows header files. Perhaps we can combine
 the two into a new utility?

 Lio.
I think htod is based on dmc so open sourcing it would be a problem.
Ah, right. I remember now :) HTOD is using the DMC frontend for C/H parsing and that's not open sourced. Got it. L.
May 27 2013
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 5/27/2013 8:35 PM, Lionello Lunesu wrote:
 On 5/28/13 11:08, Diggory wrote:
 On Tuesday, 28 May 2013 at 02:32:24 UTC, Lionello Lunesu wrote:
 Walter,

 Any chance we can get the source of htod? If found it a very useful
 little utility, although there are many issues with it.

 VisualD also include a similar utility to convert header files to D,
 but it is more tuned to Windows header files. Perhaps we can combine
 the two into a new utility?

 Lio.
I think htod is based on dmc so open sourcing it would be a problem.
Ah, right. I remember now :) HTOD is using the DMC frontend for C/H parsing and that's not open sourced. Got it.
I've been thinking about making it "source available".
May 27 2013
parent Lionello Lunesu <lionello lunesu.remove.com> writes:
On 5/28/13 12:11, Walter Bright wrote:
 On 5/27/2013 8:35 PM, Lionello Lunesu wrote:
 On 5/28/13 11:08, Diggory wrote:
 On Tuesday, 28 May 2013 at 02:32:24 UTC, Lionello Lunesu wrote:
 Walter,

 Any chance we can get the source of htod? If found it a very useful
 little utility, although there are many issues with it.

 VisualD also include a similar utility to convert header files to D,
 but it is more tuned to Windows header files. Perhaps we can combine
 the two into a new utility?

 Lio.
I think htod is based on dmc so open sourcing it would be a problem.
Ah, right. I remember now :) HTOD is using the DMC frontend for C/H parsing and that's not open sourced. Got it.
I've been thinking about making it "source available".
What about keeping the DMC frontend code in a (static) library? Would that work for the time being? L.
May 28 2013
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2013-05-28 04:32, Lionello Lunesu wrote:
 Walter,

 Any chance we can get the source of htod? If found it a very useful
 little utility, although there are many issues with it.

 VisualD also include a similar utility to convert header files to D, but
 it is more tuned to Windows header files. Perhaps we can combine the two
 into a new utility?
There's already DStep, fully open source: https://github.com/jacob-carlborg/dstep Cross-platform, can convert C and Objective-C. Unfortunately I haven't got it to link on Windows, stupid Optlink. I'll guess I should give it another try. -- /Jacob Carlborg
May 28 2013