dmd support for IDEs

Leandro Lucarella llucax at gmail.com
Sun Oct 11 16:00:04 PDT 2009


Walter Bright, el 11 de octubre a las 14:13 me escribiste:
> Leandro Lucarella wrote:
> >Walter Bright, el 11 de octubre a las 02:38 me escribiste:
> >>Lutger wrote:
> >>>What about file/line/column of the symbol? Is this much work /
> >>>hard work to add?
> >>file/line of course, but I don't see a point to column.
> >
> >See Clang error messages:
> >http://clang.llvm.org/diagnostics.html
> >
> >That's *nice* =)
> >
> 
> I agree, it looks good on paper.
> 
> In fact, I implemented it in the C and C++ compiler from the
> beginning (1982 or so). It's still in dmc, try it - it'll print out
> the error message, followed by the source text of the offending
> line, followed by a ^ under where things went wrong.
> 
> Nobody cared.
> 
> Nobody has ever commented on it - and there have been hundreds of
> thousands of users of it. No magazine review ever mentioned it. When
> I mention it to people as "cool, look at this" they never respond.
> When the conversation is about the quality of error messages, that
> feature never comes up.
> 
> So I dropped it for dmd.
> 
> Nobody noticed.
> 
> Nobody asked why it was done for dmc, and not for dmd. Nobody asked
> for it. Nothing. (Until now.)
> 
> So I am hard pressed to believe this is a worthwhile feature. There
> is a cost to it in memory consumption and compiler execution time,
> so it's not quite free.

Well, I don't know the reasons for that. Maybe bad timing? I don't know
why people didn't like it in the past. I just know it's a damn good
feature.

-- 
Leandro Lucarella (AKA luca)                      http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
So you run and you run to catch up with the sun but it's sinking.
Racing around to come up behind you again.
The sun is the same in a relative way but you're older,
Shorter of breath and one day closer to death.



More information about the Digitalmars-d mailing list