MySQL Forums
Forum List  »  Optimizer & Parser

Is there a better ANTLR grammar file for MySQL ?
Posted by: Bill Nicholson
Date: May 28, 2017 05:07PM

I have ANTLR running and parsing SELECT scripts. It works a little. I am using the .g4 files at https://github.com/antlr/grammars-v4/tree/master/mysql but they are incomplete. For example, the "AS" keyword is not recognized and quoted strings are not handled at all.

Is there a better set of .g4 files somewhere else?

Thanks,

Bill

Options: ReplyQuote


Subject
Views
Written By
Posted
Is there a better ANTLR grammar file for MySQL ?
3532
May 28, 2017 05:07PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.