|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - Spelling suggestion on wrong identifier
The ada compiler would suggest a possible identifier that might be the correct one when you misspelled a word. Even a case check would be very useful. Could we please have that :) It also means you don't have to know the case to use someone else class (just try the wrong one, and the compiler will give you alternatives). -Anderson Dec 16 2003
Please! No more bloat! In article <bro570$2vva$1 digitaldaemon.com>, J Anderson says...The ada compiler would suggest a possible identifier that might be the correct one when you misspelled a word. Even a case check would be very useful. Could we please have that :) It also means you don't have to know the case to use someone else class (just try the wrong one, and the compiler will give you alternatives). -Anderson Dec 16 2003
I think that should be the job of the IDE. Especially IBM Eclipse users are used to this kind of service. ;) J Anderson wrote:The ada compiler would suggest a possible identifier that might be the correct one when you misspelled a word. Even a case check would be very useful. Could we please have that :) It also means you don't have to know the case to use someone else class (just try the wrong one, and the compiler will give you alternatives). -Anderson Dec 17 2003
Ilya Minkov wrote:I think that should be the job of the IDE. Especially IBM Eclipse users are used to this kind of service. ;) Dec 17 2003
J Anderson wrote:Ilya Minkov wrote:I think that should be the job of the IDE. Especially IBM Eclipse users are used to this kind of service. ;) Dec 18 2003
J C Calvarese wrote:J Anderson wrote:Ilya Minkov wrote:I think that should be the job of the IDE. Especially IBM Eclipse users are used to this kind of service. ;) Dec 18 2003
This is the reason why Walter is trying so hard to keep the parsing and semantic phases separate in D. That will allow all kinds of tools to be written that can deal with D source without having to know anything about the types or the identifiers that are present. In other words, it really won't be all that hard to write a tool that parses D source. You could probably do it in like 3 pages of Perl. ;) There will probably be a Perl library for parsing D soon. A full optimizing compiler, on the other hand, is a significant engineering effort. Some of those algorithms are pretty complicated! Sean "J C Calvarese" <jcc7 cox.net> wrote in message news:bru2n8$2t1e$1 digitaldaemon.com...J Anderson wrote:Ilya Minkov wrote:I think that should be the job of the IDE. Especially IBM Eclipse users are used to this kind of service. ;) Dec 19 2003
I agree with everything you say (and with Walter's conception, too). In article <brubl2$9m0$1 digitaldaemon.com>, Sean L. Palmer says...This is the reason why Walter is trying so hard to keep the parsing and semantic phases separate in D. That will allow all kinds of tools to be written that can deal with D source without having to know anything about the types or the identifiers that are present. In other words, it really won't be all that hard to write a tool that parses D source. You could probably do it in like 3 pages of Perl. ;) There will probably be a Perl library for parsing D soon. A full optimizing compiler, on the other hand, is a significant engineering effort. Some of those algorithms are pretty complicated! Sean "J C Calvarese" <jcc7 cox.net> wrote in message news:bru2n8$2t1e$1 digitaldaemon.com...J Anderson wrote:Ilya Minkov wrote:I think that should be the job of the IDE. Especially IBM Eclipse users are used to this kind of service. ;) Dec 19 2003
And therefore it ought to lead to removing much of the compile-time "safety" checks to other tools. I refer, of course, to flagging when a switch is missing a default break, the if ( x = y ) problem, etc. Then the compiler can focus on compiling. In article <brubl2$9m0$1 digitaldaemon.com>, Sean L. Palmer says...This is the reason why Walter is trying so hard to keep the parsing and semantic phases separate in D. That will allow all kinds of tools to be written that can deal with D source without having to know anything about the types or the identifiers that are present. In other words, it really won't be all that hard to write a tool that parses D source. You could probably do it in like 3 pages of Perl. ;) There will probably be a Perl library for parsing D soon. A full optimizing compiler, on the other hand, is a significant engineering effort. Some of those algorithms are pretty complicated! Sean "J C Calvarese" <jcc7 cox.net> wrote in message news:bru2n8$2t1e$1 digitaldaemon.com...J Anderson wrote:Ilya Minkov wrote:I think that should be the job of the IDE. Especially IBM Eclipse users are used to this kind of service. ;) Dec 19 2003
True, Dlint would be pretty sophisticated. hehe Sean "Juan C." <Juan_member pathlink.com> wrote in message news:brvcag$1r70$1 digitaldaemon.com...And therefore it ought to lead to removing much of the compile-time Dec 19 2003
|