[antlr-interest] grammar question
mark kant
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
Mark
--- Terence Parr <parrt at jguru.com> wrote:
> Sure...see the javadoc example in distribution
> (explained in token
> stream section of notes) :)
>
> Terence
>
> On Saturday, March 22, 2003, at 02:45 PM, mark kant
> wrote:
>
> > Hi,
> >
> > Can multiple lexers be implemented so that a
> different
> > 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:
> http://www.antlr.org
> Lecturer in Comp. Sci., University of San Francisco
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
__________________________________________________
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/
More information about the antlr-interest
mailing list