How to build your own SQL parser?
10,342
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.
Related videos on Youtube
Author by
georgepsarakis
Software Engineer. Check my open-source projects on Github.
Updated on June 04, 2022Comments
-
georgepsarakis about 2 years
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 ?
-
HowardHave a look to the right =>. There is a section "related" with some examples on what you might look for.
-
mlgI wrote a blogpost on this last year that was very well received (#1 google build sql parser right now): marianogappa.github.io/software/2019/06/05/…
-
Bart KiersIs this a learning exercise? If not, I recommend using some existing parser instead.
-