Re: What's the problem in opensourcing htod?

2011-01-02 Thread Stewart Gordon
On 21/12/2010 22:08, Jonathan M Davis wrote: Just so you know, htod works on wine. But how many people are willing to install Wine just to run this program? I'd still like to know what on earth the barrier is to building htod to run on platforms other than Windows. Stewart.

Re: What's the problem in opensourcing htod?

2010-12-23 Thread Jimmy Cao
On Thu, Dec 23, 2010 at 10:29 AM, Andrej Mitrovic < andrej.mitrov...@gmail.com> wrote: > I think you just need to pass a flag to SWIG when building it to get > D2 support. I've done it a few days ago.. > > On 12/23/10, BLS wrote: > > On 23/12/2010 05:34, Mariusz Gliwiński wrote: > >> wig looks in

Re: What's the problem in opensourcing htod?

2010-12-23 Thread Andrej Mitrovic
I think you just need to pass a flag to SWIG when building it to get D2 support. I've done it a few days ago.. On 12/23/10, BLS wrote: > On 23/12/2010 05:34, Mariusz Gliwiński wrote: >> wig looks interesting. Again, it strips const so probably D1 (i just >> skipped >> D1, it wasn't interesting en

Re: What's the problem in opensourcing htod?

2010-12-23 Thread BLS
On 23/12/2010 05:34, Mariusz Gliwiński wrote: wig looks interesting. Again, it strips const so probably D1 (i just skipped D1, it wasn't interesting enough for me to switch from widely used languages so don't know it's feature-set) and it's using tango, but looks promising. SWIG 4 D uses D1/Tan

Re: What's the problem in opensourcing htod?

2010-12-22 Thread Mariusz Gliwiński
Wednesday 22 December 2010 @ 23:02:44 BLS: > tried SWIG for C++ to D. But frankly said I am not able to offer > substantial feedback 'cause every binding I have created was more or > less in a toy area.. Thanks for answers everyone, swig looks interesting. Again, it strips const so probably D1

Re: What's the problem in opensourcing htod?

2010-12-22 Thread BLS
On 22/12/2010 19:11, Sean Kelly wrote: BLS Wrote: On 22/12/2010 16:19, Sean Kelly wrote: I hate to say it, but I've found that creating the D headers by hand is faster than running htod and hand-editing to fix screw-ups. Particularly if there are any #if statements to contend with. Did yo

Re: What's the problem in opensourcing htod?

2010-12-22 Thread Andrej Mitrovic
Well, Clang can build binaries on Windows. AFAIK the only problem is exceptions on Windows. On 12/22/10, Jacob Carlborg wrote: > On 2010-12-21 22:58, Mariusz Gliwiński wrote: >> Hello, >> Why don't You make htod opensource? I don't think it has commercial >> potential, >> or I'm wrong? I'm asking

Re: What's the problem in opensourcing htod?

2010-12-22 Thread Jacob Carlborg
On 2010-12-21 22:58, Mariusz Gliwiński wrote: Hello, Why don't You make htod opensource? I don't think it has commercial potential, or I'm wrong? I'm asking, because it's a shame that people who wants publish D bindings have to make their own scripts for that (so bindings can be generated on !win

Re: What's the problem in opensourcing htod?

2010-12-22 Thread Sean Kelly
BLS Wrote: > On 22/12/2010 16:19, Sean Kelly wrote: > > I hate to say it, but I've found that creating the D headers by hand is > > faster than running htod and hand-editing to fix screw-ups. Particularly > > if there are any #if statements to contend with. > > Did you consider to use SWIG ins

Re: What's the problem in opensourcing htod?

2010-12-22 Thread BLS
On 22/12/2010 16:19, Sean Kelly wrote: I hate to say it, but I've found that creating the D headers by hand is faster than running htod and hand-editing to fix screw-ups. Particularly if there are any #if statements to contend with. Did you consider to use SWIG instead of htod ?

Re: What's the problem in opensourcing htod?

2010-12-22 Thread Iain Buclaw
== Quote from Sean Kelly (s...@invisibleduck.org)'s article > Mariusz Gliwiński Wrote: > > Hello, > > Why don't You make htod opensource? I don't think it has commercial potential, > > or I'm wrong? I'm asking, because it's a shame that people who wants publish D > > bindings have to make their own

Re: What's the problem in opensourcing htod?

2010-12-22 Thread Sean Kelly
Mariusz Gliwiński Wrote: > Hello, > Why don't You make htod opensource? I don't think it has commercial > potential, > or I'm wrong? I'm asking, because it's a shame that people who wants publish > D > bindings have to make their own scripts for that (so bindings can be > generated > on !wi

Re: What's the problem in opensourcing htod?

2010-12-21 Thread Walter Bright
Mariusz Gliwiński wrote: Thanks, I understand that. Why htod strips out const? 1) in: const int var = 2; out: null 2) in: DLL const char *func( int arg ); out: char * func(int arg); 3) in: DLL void func( int arg, const char *arg2 ); out: void func(int arg, const char *arg2); 4) there is const

Re: What's the problem in opensourcing htod?

2010-12-21 Thread Mariusz Gliwiński
22.12.2010 @ 03:17:31 Walter: > htod is built out of the C and C++ compiler front end, the source of which > Digital Mars sells. Thanks, I understand that. Why htod strips out const? 1) in: const int var = 2; out: null 2) in: DLL const char *func( int arg ); out: char * func(int arg); 3) in: DLL

Re: What's the problem in opensourcing htod?

2010-12-21 Thread Walter Bright
Mariusz Gliwiński wrote: Why don't You make htod opensource? htod is built out of the C and C++ compiler front end, the source of which Digital Mars sells.

Re: What's the problem in opensourcing htod?

2010-12-21 Thread Walter Bright
Michel Fortin wrote: If I remember well, Walter said it includes parts of his C++ compiler (DMC), which he sells, is closed source, and has a long history. It's possible he does not have the right to license it as open source, or perhaps he just doesn't want to disclose the source for DMC. Y

Re: What's the problem in opensourcing htod?

2010-12-21 Thread Michel Fortin
On 2010-12-21 16:58:02 -0500, Mariusz Gliwiński said: Hello, Why don't You make htod opensource? If I remember well, Walter said it includes parts of his C++ compiler (DMC), which he sells, is closed source, and has a long history. It's possible he does not have the right to license it as o

Re: What's the problem in opensourcing htod?

2010-12-21 Thread Andrej Mitrovic
"It's probably wouldn't". I need a new brand of coffee. -_- On 12/21/10, Andrej Mitrovic wrote: > Is htod a part of the C++ DM toolkit? I don't think it is, I mean it's > only useful for the D language. Sooner or later Walter is either going > to open-source it or we'll be forced to reinvent the

Re: What's the problem in opensourcing htod?

2010-12-21 Thread Andrej Mitrovic
Is htod a part of the C++ DM toolkit? I don't think it is, I mean it's only useful for the D language. Sooner or later Walter is either going to open-source it or we'll be forced to reinvent the tool. It's probably wouldn't be much work for a C-only header translator. On 12/21/10, Mariusz Gliwińsk

Re: What's the problem in opensourcing htod?

2010-12-21 Thread Mariusz Gliwiński
Dnia wtorek 21 grudzień 2010 o 23:08:34 Jonathan M Davis napisał(a): > On Tuesday, December 21, 2010 13:58:02 Mariusz Gliwiński wrote: > > Hello, > > Why don't You make htod opensource? I don't think it has commercial > > potential, or I'm wrong? I'm asking, because it's a shame that people who > >

Re: What's the problem in opensourcing htod?

2010-12-21 Thread Jonathan M Davis
On Tuesday, December 21, 2010 13:58:02 Mariusz Gliwiński wrote: > Hello, > Why don't You make htod opensource? I don't think it has commercial > potential, or I'm wrong? I'm asking, because it's a shame that people who > wants publish D bindings have to make their own scripts for that (so > binding

What's the problem in opensourcing htod?

2010-12-21 Thread Mariusz Gliwiński
Hello, Why don't You make htod opensource? I don't think it has commercial potential, or I'm wrong? I'm asking, because it's a shame that people who wants publish D bindings have to make their own scripts for that (so bindings can be generated on !windows too). If there are no chances for gettin