[antlr-interest] Understanding Lexer rules
Johannes Luber
jaluber at gmx.de
Wed Feb 20 06:22:43 PST 2008
Micke Hovmöller schrieb:
> On 2/20/08, Mark Volkmann <r.mark.volkmann at gmail.com> wrote:
>> This really bothers me. Every time this subject comes up it seems that
>> people talk about what they *think* happens, using words like "I
>> believe", "sort-of" and "usually". Gavin, I'm not faulting you. You're
>> supplying as much information as you have which is helpful. I just
>> wish that someone who knows for sure would speak up and put the
>> definitive information in the wiki so we can stop speculating on how
>> the lexer chooses the next rule to apply.
>
> I'd like to second this motion, and just add that this information
> will have to include some quite detailed and specific examples. This
> seems like the sort of thing that is just too complex for most people
> to understand without examples.
>
> /Micke
>
Isn't
<http://www.antlr.org/wiki/display/ANTLR3/Quick+Starter+on+Parser+Grammars+-+No+Past+Experience+Required>
including this information in the "How to define tokens" section?
Johannes
More information about the antlr-interest
mailing list