3 ms·
> which is to use the rustdoc tool to export the projects documentation as json. Side note: it already does this by defaut: http://doc.rust-lang.org/search-ind
by steveklabnik 12y ago
> which is to use the rustdoc tool to export the projects documentation as json.
Side note: it already does this by defaut: http://doc.rust-lang.org/search-index.js http://doc.rust-lang.org/search-index.js
I'm not sure if that's enough information to do this analysis, but the basics are there! I've opened an issue: https://github.com/rust-lang/cargo/issues/47 https://github.com/rust-lang/cargo/issues/47
- awj 12y agoHow hard would it be to get usable type signatures out of the compiler as well? It seems like diffing two sets of type signatures would capture everything but purely semantic api incompatibility. Also seems like "here's a machine-readable version of all the types in this package" is a useful thing for a compiler toolchain to produce. Because, of course, Mozilla is paying you to sit around on your hands.
- steveklabnik 12y agoIt shouldn't be that bad, given the need for the compiler to export an AST.