hatsuseno's blog

yapb - yet another programming blog
Posts tagged as sql

Building a custom SQL::Parser

2014-01-10 by hatsuseno, tagged as parsing, perl, sql

SQL::Parser is a pure-perl library that, sort of, parses generic SQL strings into a pseudo-AST, in the form of a nested hash.

Since all the cool kids in town (I'm looking at you, Atlassian) are developing in-house query languages to ease searching and database-poking from an end-user perspective, at my job we thought the same thing. Thus was born xQL (replace x with the first letter of your product).

Read more »