Improving Compiler Error Messages

Ary Borenszweig ary at esperanto.org.ar
Sat May 1 21:31:56 PDT 2010


Ary Borenszweig wrote:
> Walter Bright wrote:
>> http://www.drdobbs.com/blog/archives/2010/05/improving_compi.html
>>
>> The next dmd update is getting the fruits of this.
> 
> So cool!
> 
> About the semicolon redundancy: it has been discussed a lot of times in 
> this newsgroup, but I started programming in ruby some time ago and I 
> can tell you I prefer to not type thousands of those redundant 
> semicolons to once in a while spend 5 or 10 seconds to understand that 
> the error the interpreter is talking about is about a misinterpretation 
> of what I wrote. Note that this "once in a while" might have happened 
> two or three times in about seven months of work. I prefer not to type 
> those many semicolons and parenthesis. :-)

And

3. scan till a ; is found

can be replaced with

3. scan (in a smart way) till a line end is found



More information about the Digitalmars-d mailing list