smoldb is a toy SQL database written in Python. It uses LMDB (with the py-lmdb binding) as its storage engine.
The code is mostly handwritten, with some assistance from Codex/Claude Code for planning/design/testing.
Inspired by https://notes.eatonphil.com/zigrocks-sql.html (https://github.com/eatonphil/zigrocks).
- Replace SQLGlot with a handwritten SQL lexer and parser.