3 ms·
I'm not sure how Facebook does it, but there are a lot ways to get something like this up and running. I have experience with using Facebook's pfff [0]. Its co
by ignoramous 12y ago
I'm not sure how Facebook does it, but there are a lot ways to get something like this up and running.
I have experience with using Facebook's pfff [0]. Its codegraph feature builds up a graph of code that you can query. Doing something like 'get me a list of all classes this node depends on' on Java code is as simple as executing 'Graph.use(node name)' where nodename can be a class, package, method... Pfff supports many more languages, and its built on OCaml.
Facebook has a history of open sourcing stuff, I hope they open source their tools mentioned in the talk.
[0] https://github.com/facebook/pfff https://github.com/facebook/pfff