5 ms·
Rust-analyzer uses a similar technique for parsing https://github.com/rust-lang/rust-analyzer/blob/master/crates/parser/src/event.rs https://github.com/rust-la
by emptysea 2y ago
Rust-analyzer uses a similar technique for parsing https://github.com/rust-lang/rust-analyzer/blob/master/crates/parser/src/event.rs https://github.com/rust-lang/rust-analyzer/blob/master/crate... which then gets fed into https://github.com/rust-analyzer/rowan https://github.com/rust-analyzer/rowan (lossless syntax tree)
- bradrn 2y agoThere is a longer overview of it here: https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/syntax.md https://github.com/rust-lang/rust-analyzer/blob/master/docs/...