[antlr-interest] Using ANTLR parser with JFlex lexer

Prashant Deva prashant.deva at gmail.com
Thu Apr 13 05:11:06 PDT 2006


The parser just wants something which implements the IToken interface and a
class which inherits from Token.
If you can provide this, then you can use any lexer at all.

--
Prashant Deva
Creator, ANTLR Studio
Founder, Placid Systems, www.placidsystems.com

On 4/13/06, Jason <jasonriz at yahoo.com> wrote:
>
> Hello,
>
> I'm interested in the possibility of using the antlr
> parser in conjunction with the Flex lexer.  I'm pretty
> sure that this is possible.  Has anyone ever done it?
> Is there some sample code anywhere?  I spent some time
> poking around the antlr site and found a lot of
> helpful information but nothing about this use case
> specifically.  Thanks in advance for any replies.
>
> -jason
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060413/eed4f3e6/attachment.html


More information about the antlr-interest mailing list