Do it yourself: https://github.com/tekknolagi/db.py
1,872 karma · joined October 6, 2011
https://bernsteinbear.com
email on website
It's ~150LOC but doesn't have aggregates (yet)
Also, hi Matthias!
EDIT: Oops, this tool is mentioned in the post already (but the post is not, so here it is if you want to read about it). Neat!
Edit: oh, it's unique per compilation and isn't meant to be shared around. The variants are shared with string names in flat scraps (small serialized ASTs)
Your example is legal (modulo the constraint that every tag must have an associated value) and works because we store the tag either in the pointer or the tag field.