From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ea99940253996e3e X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,ea99940253996e3e X-Google-Attributes: gidf43e6,public X-Google-Thread: 109fba,ea99940253996e3e X-Google-Attributes: gid109fba,public X-Google-Thread: 108717,ea99940253996e3e X-Google-Attributes: gid108717,public X-Google-ArrivalTime: 2003-10-04 03:43:15 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!news2.telebyte.nl!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Jakob Bieling" Newsgroups: comp.software-eng,comp.programming,comp.lang.c++,comp.lang.ada Subject: Re: Spell-checking source code (Was: ISO Studies of underscores...) Date: Sat, 4 Oct 2003 12:41:41 +0200 Organization: T-Online Message-ID: References: <2cfd1a4e.0309252032.3e3c0a1a@posting.google.com> <863cefjy6l.fsf@strudel.futureapps.de> <86ad8i7d1d.fsf_-_@huldreheim.huldreskog.no> <86zngh5oct.fsf@huldreheim.huldreskog.no> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1065264060 03 7793 wiFtVx5SSVayT5 031004 10:41:00 X-Complaints-To: usenet-abuse@t-online.de X-ID: TnZyXeZdgeZ-VERxlpBDVMiYC-M2Im2nLI2r+Xe6wec9mYiin+BP4b X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.software-eng:48 comp.programming:344 comp.lang.c++:764 comp.lang.ada:207 Date: 2003-10-04T12:41:41+02:00 List-Id: "Leif Roar Moldskred" wrote in message news:86zngh5oct.fsf@huldreheim.huldreskog.no... > "Steve" writes: > > > If you happen to be use GNAT (GNU Ada), the compiler does do some degree of > > spell checking. > > > > gcc -c dointxor.adb > > dointxor.adb:30:28: "b_valu" is undefined > > dointxor.adb:30:28: possible misspelling of "b_value" > > gnatmake: "dointxor.adb" compilation error > > That's not really spell-checking though - it doesn't check "b_value" to see > if "value" is a proper word in English. But it is that kind of word-matching I would personally like to see in more compilers (specifically C++ compilers). I do agree with Kevin Morenski (news:3f7df3af_2@nntp2.nac.net) that a real spell-checker for source code is not practicable. You said that the spell-checker would just have to ask you whether to ignore it or how else to proceed. Have you thought about how annoying 100s or even 1000s of those messages boxes, asking how to proceed, will be when compiling already existing source with this spell-checker? regards -- jb (replace y with x if you want to reply by e-mail)