Comment Comment by simonw Thanks to this post I learned about Lark, which looks like a really nice parser library for Python.The JSON tutorial on their site is excellent - shows how to build a basic parser for JSON, then goes into some great detail about how to improve its performance: https://lark-parser.readthedocs.io/en/latest/json_tutorial.h...Here's the grammar used for the RDBMS project: https://github.com/spandanb/learndb-py/blob/master/learndb/l... parent simonw 3 years ago
The JSON tutorial on their site is excellent - shows how to build a basic parser for JSON, then goes into some great detail about how to improve its performance: https://lark-parser.readthedocs.io/en/latest/json_tutorial.h...
Here's the grammar used for the RDBMS project: https://github.com/spandanb/learndb-py/blob/master/learndb/l...