Re:Show HN: I wrote a RDBMS (SQLite clone) from scratch in p...
by spanspan on Sunday August 13, 2023 @08:14PM
(#37116006)
This string is the grammar that lark uses to parse the user submitted sql into an AST. This parsing is far more complete and robust than what doing this in pure python would allow (without of course implementing the entire lexer and parser that lark implements).
There may be some post parsing validation that can be done here- but that would be something that's beyond the domain of the parser.
There may be some post parsing validation that can be done here- but that would be something that's beyond the domain of the parser.