[antlr-interest] grammar question
markkant2001 at yahoo.com
Sun Mar 23 15:10:23 PST 2003
I checked the example - it does the lexer selection
based in lex only. Is there another way to activate a
set of lex rules based on a rule match in parser, but
under normal conditions, these lex rules are inactive
Thanks in advance
--- Terence Parr <parrt at jguru.com> wrote:
> Sure...see the javadoc example in distribution
> (explained in token
> stream section of notes) :)
> On Saturday, March 22, 2003, at 02:45 PM, mark kant
> > Hi,
> > Can multiple lexers be implemented so that a
> > lexer is activated in parser or atleast based on a
> > rule that matches in parser ?
> > Thanks
> > Mark
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Platinum - Watch CBS' NCAA March Madness,
> live on your desktop!
> > http://platinum.yahoo.com
> > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> Co-founder, http://www.jguru.com
> Creator, ANTLR Parser Generator:
> Lecturer in Comp. Sci., University of San Francisco
> Your use of Yahoo! Groups is subject to
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest