Re:Let's write a compiler, part 5: A code generator
by codr7 on Thursday August 19, 2021 @07:23AM
(#28232523)
Depends on the complexity of your queries, but if you have a narrow subset that you're interested in, implementing a recursive descent parser for just those parts of the syntax that fits your problem like a glove could be a better solution.
Re:Let's write a compiler, part 5: A code generator
by ofiryanai on Thursday August 19, 2021 @08:39AM
(#28233062)
I'm aiming to analyze all the BI queries in my organization, some of them are quite complicated and most of them are hundreds lines of sql.
Thanks for the direction, I'll dive into it
https://github.com/codr7/swifties