[antlr-interest] Best practice to handle Lexer backtracking demand
Gerald Rosenberg
gerald at certiv.net
Fri Aug 13 19:04:52 PDT 2010
------ Original Message (Saturday, August 14, 2010 3:41:08
AM) From: Joachim Schrod ------
Subject: Re: [antlr-interest] Best practice to handle Lexer backtracking
demand
> And, in case it's not clear, the example was made up by me to have
> a minimal example to discuss. The real DSL is simple, but not as
> simple:
Going to have to work on my mind-reading...
> I have several marker strings that delimit character
> sequences w/o any marker string in them, need to determine just
> that text between the markers, and need to check if the marker
> strings come in the right order and what is between them. I.e.,
> lexical filters are not sufficient, I need input validation as well.
Please post an example -- input and grammar -- that properly matches the
complexity of your problem.
More information about the antlr-interest
mailing list