如何建立自己的SQL解析器? [英] How to build your own SQL parser?
本文介绍了如何建立自己的SQL解析器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想编写一个SQL解析器.我当时正在考虑一种高级语言(可能是Python).
I would like to write an SQL Parser. I was considering a high level language (probably Python).
在编写解析器时,是否有一些理论概念,教程或更通用的起点?
Is there a good starting point for some theoretical concepts, a tutorial or something more generic on writing parsers ?
推荐答案
ANTLR 可能是一个很好的选择.或 Gold解析系统与龙书具有良好的理论背景构建自己的解析器.
ANTLR can be a good choice. Or GOLD Parsing System with SQL grammar. Dragon book has good theoretical background if you want to build your own parser.
这篇关于如何建立自己的SQL解析器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文