4 ms·
Ask HN: Is there a good JavaScript SQL parser for the front end?
There seem to be a variety of not-mature options. What do you use, when you had to do this for the front end?
- lf-non 7y agoAntlr4 supports a javascript target [1] and has parsers for most popular SQL dialects [2] [1] https://github.com/antlr/antlr4/blob/master/doc/javascript-target.md https://github.com/antlr/antlr4/blob/master/doc/javascript-t... [2] https://github.com/antlr/grammars-v4/tree/master/sql https://github.com/antlr/grammars-v4/tree/master/sql [2]
- gshdg 7y agoIf I may ask, why are you parsing SQL in the client?