[il-antlr-interest: 27997] Re: [antlr-interest] good error handling

2010-02-20 Thread kferrio
Surprised to see none of the expected flood of appreciation for this development, I conclude that I'm not the only one who wasn't watching the wire today. This is a *very* welcome development! Though all my struggles with ANTLR ultimately point to my own limitations, this kind of error-reporti

[il-antlr-interest: 27996] [antlr-interest] good error handling

2010-02-20 Thread Terence Parr
Hi, As I rebuild ANTLR (v4) using v3, I'm trying to do a good job of their recovery. adding my notes here: http://www.antlr.org/wiki/display/~admin/Gracefully+handling+syntax+errors Just added to that page some nice sample code that I'm using. For input: grammar A; a : b catch [Exception e

[il-antlr-interest: 27995] Re: [antlr-interest] v4 lexers

2010-02-20 Thread Terence Parr
Hi Kyle, thanks for your thoughts! On Feb 17, 2010, at 9:14 PM, kfer...@gmail.com wrote: > Regarding the wiki page by the same subject... I'm clearly no expert in the > implementation guts but moving software stack seems like it could have a > couple more benefits in addition to the ones you wro