On Jan 18, 2009, at 13:12:30, Terence Parr wrote:

> ah.  Yes, I get it now. Take of a lexer as a parser that parses
> characters instead of tokens. In this way I have generalized the
> notion of a recognizer so that we represent any element in the stream
> as an integer vocabulary symbol "type".
>
> sorry for the confusion.


No worries. The use of the Java primitive type "int" threw me a bit,  
is all. I've typedef'd a "CharTokenT" to use, might find a better name  
later. I guess this is okay because you'll only ever be looking at  
characters or token types exclusively, never a mix.

Thanks!

-- 
Rick


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to