Show HN: Locust – “Git diff” over abstract syntax trees
I can't wait until the future when we have version control at the AST level instead of using text files.
I've learned only recently about the `git log -L` flag that allows you to view version history for a specific function in a specific file. But the feature will look incredibly weak in retrospect when we're able to view history of AST structures across files and renames.
I've been thinking about a similar tool in go that would use the call graph
it would show how many new/changed calls were made and also include basic info about new declarations
it would give a quick overview of changes and hidden side effects prior to commits thanks to go static analysis
We have been an early adopter at https://github.com/activeloopai/Hub. It helped me to quickly review large PRs that otherwise took us long time to understands the high-level picture.
Nice!