Re:Flattening ASTs (and Other Compiler Data Structures)
by emptysea on Friday January 10, 2025 @05:00PM
(#42660769)
Rust-analyzer uses a similar technique for parsing https://github.com/rust-lang/rust-analyzer/blob/master/crate... which then gets fed into https://github.com/rust-analyzer/rowan (lossless syntax tree)
[ Parent
| on HN ]
Re:Flattening ASTs (and Other Compiler Data Structures)
by bradrn on Friday January 10, 2025 @07:26PM
(#42662028)
There is a longer overview of it here: https://github.com/rust-lang/rust-analyzer/blob/master/docs/...