antlr4 sql语法 [英] antlr4 sql grammar
问题描述
ANTLR4是否有可用的SQL语法?如果是这样,我在哪里可以找到它?
Does ANTLR4 have a sql grammar available? If so, where can I find it?
ANTLR Wiki中有一个链接,但该链接已断开:语法列表
There is a link from the ANTLR wiki, but the link is broken: grammar list
推荐答案
否,在撰写本文时,尚无v4 SQL语法.
No, at the time of this writing, there is no v4 SQL grammar.
所有v4语法都将放入以下Github存储库中(据我从ANTLR邮件列表中还记得的地方):
All v4 grammar will be put into the following Github repository (as far as I can remember from the ANTLR mailing list): https://github.com/antlr/grammars-v4
v3语法现在在这里: http://antlr3.org/grammar/list.html
The v3 grammars here now: http://antlr3.org/grammar/list.html
现在,用户在此处贡献了MySQL语法:[已删除死链接]
There is now a user contributed MySQL grammar here: [dead link removed]
MySQL,T-SQL,PL/SQL和SQLite语法均可在此处使用:
MySQL, T-SQL, PL/SQL, and SQLite grammars are all available here: https://github.com/antlr/grammars-v4/tree/master/sql
这篇关于antlr4 sql语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!