3 ms·
The Rust compiler is written as a library with a small driver, so getting access to parse trees in external tools is easy. Take a look at rustdoc, for instance
by capnrefsmmat 15y ago
The Rust compiler is written as a library with a small driver, so getting access to parse trees in external tools is easy.
Take a look at rustdoc, for instance:
https://github.com/mozilla/rust/tree/master/src/rustdoc https://github.com/mozilla/rust/tree/master/src/rustdoc