Author here! Stack graphs definitely could be used to generalize some of the loading/extraction, but from what I’ve seen GitHub hasn’t actually released the per-language definitions for building them (yet?).
Ah yes Kythe! I remember running across it a while back but it didn’t come up when I was gathering everything for the post. It does look a bit like what I ended up creating… unfortunately it doesn’t look like the “influences” nodes are implemented for Go right now? Either way a very good bit of software - I’ll add an addendum in the post about it.
https://github.blog/2021-12-09-introducing-stack-graphs/ could be very similar except the storage is file based instead of neo4j
Kythe(google’s grok) also implements a universal syntax tree that is stored in a graphdb
Author here! Stack graphs definitely could be used to generalize some of the loading/extraction, but from what I’ve seen GitHub hasn’t actually released the per-language definitions for building them (yet?).
Ah yes Kythe! I remember running across it a while back but it didn’t come up when I was gathering everything for the post. It does look a bit like what I ended up creating… unfortunately it doesn’t look like the “influences” nodes are implemented for Go right now? Either way a very good bit of software - I’ll add an addendum in the post about it.
[Comment removed by author]