[antlr-interest] Partial parsing

Richard Clark rdclark at gmail.com
Thu Apr 1 11:04:55 PDT 2010


Would a "filtering lexer" work better for you? That's used to pick out the content of interest and ignore the rest. 

I was able to write a SQL parser that picks out table definitions in one dialect and translates them to another dialect in something under 100 lines.

...R

On Mar 30, 2010, at 9:51 AM, Anton Bychkov wrote:

> Hi.
> 
> I'm trying to implement partial SQL parsing in my application with the
> help of ANTLR.
> It is hard to write proper grammar for some SQL expressions, so I want
> to leave them as a plain text.



More information about the antlr-interest mailing list