www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: forward references...again

reply kede <nobody devnull.com> writes:
Hey Jarrett,

Yeah I have been sticking everything into one module, but its really annoying
me having to scroll though huge files and I'm really enjoying programming in D
lately, other than this and not being able to return a ref type I have nothing
to complain about ;)

As for closed source, we also have gdc, so I figured I would fix it for gdc and
I'm sure Walter would patch up the dmd code accordingly. I just want a go ahead
for adding another partial semantic pass, or hacking through the existing first
semantic pass to fix it,
or some other completely different approach to take.

Have fun,
kede

<div class='subliminal'>opensource it</div>


Jarrett Billingsley Wrote:

 "kede" <nobody devnull.com> wrote in message 
 news:fnont6$9om$1 digitalmars.com...
 
 Anyways, I'm looking for some feedback concerning how to fix this in an 
 acceptable fashion.

A way of fixing it in an _un_acceptable fashion would be to stick everything into one module.
 Thoughts or feedback before I start on this, or reasons why I shouldnt 
 waste my time ;)

Well, Walter doesn't feel that fixing this kind of bug is of the highest priority, despite its being the one that is run into the most often and which has no real workarounds. But what can you do, the frontend's closed-source. :(

Jan 29 2008
parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"kede" <nobody devnull.com> wrote in message 
news:fnoq68$g1j$1 digitalmars.com...

 As for closed source, we also have gdc, so I figured I would fix it for 
 gdc and I'm sure Walter would patch up the dmd code accordingly.

Well, you can go ahead and try, I guess. There's no guarantees, though :\
Jan 29 2008
parent reply renoX <renosky free.fr> writes:
Jarrett Billingsley a écrit :
 "kede" <nobody devnull.com> wrote in message 
 news:fnoq68$g1j$1 digitalmars.com...
 
 As for closed source, we also have gdc, so I figured I would fix it for 
 gdc and I'm sure Walter would patch up the dmd code accordingly.

Well, you can go ahead and try, I guess. There's no guarantees, though :\

Even in "full opensource" programs like Linux kernel, there's no guarantee that other will take your code.. So IMHO patching gdc then providing those patch to Walter is a very sensible approach. renoX
Jan 30 2008
parent "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"renoX" <renosky free.fr> wrote in message 
news:fnqong$2o28$1 digitalmars.com...

 Even in "full opensource" programs like Linux kernel, there's no guarantee 
 that other will take your code..

Funny you chose the Linux kernel, because AFAIK it's a very similar situation to the DMD frontend -- only one guy (Linus) actually directs what code gets in or not. Yes, it's more "open" in the sense that there are more people working on it, but there's still a one-person bottleneck. By "truly" open-source, I mean virtually anyone can work on it and contribute code, and that code is no less "official" than any other. An example would be Tango. Just about anyone can be a Tango dev as long as they ask (and aren't obviously a prat).
Jan 30 2008