[antlr-interest] Antlr 3 and the newline token problem
Akhilesh Mritunjai
mritun at gmail.com
Fri Nov 25 14:27:24 PST 2005
On Sat, 26 Nov 2005 01:44:51 +0530, Prashant Deva
<prashant.deva at gmail.com> wrote:
> Me and Terence were recently having a discussion about this.
> Its about how to handle newlines in antlr 3.
Will have to think more about this, but lets finish off the excruciating
problem of keeping track of filenames too along with line and column
numbers.
I can' think of any sensible programming language, at least, that doesn't
use modules/include files that are processed along with a given set of
input files. Keeping track of file names and *their* line numbers is a
painful business. Given all the funky things we're doing with ANTLR right
now, we haven't got source error reporting right till now :-(
--
Regards
- Akhilesh Mritunjai
The problem with the world is that wise are never sure and fools are ever
so damn confident
More information about the antlr-interest
mailing list