One of my friends is doing this tracking Hungarian law modifications:
https://github.com/badicsalex/torvenyek
He has tools for parsing them written in Rust: https://github.com/badicsalex/hun_law_rs
and Python: https://github.com/badicsalex/hun_law_py
I'm doing it myself tracking my GitHub star changes: https://github.com/kissgyorgy/my-stars