0.23.0 • Published 10 months ago
tree-sitter-rust v0.23.0
tree-sitter-rust
Rust grammar for tree-sitter.
Features
Speed — When initially parsing a file,
tree-sitter-rust
takes around two to three times as long as rustc's hand-written parser.$ wc -l examples/ast.rs 2157 examples/ast.rs $ rustc -Z unpretty=ast-tree -Z time-passes examples/ast.rs | head -n0 time: 0.002; rss: 55MB -> 60MB ( +5MB) parse_crate $ tree-sitter parse examples/ast.rs --quiet --time examples/ast.rs 6.48 ms 9908 bytes/ms
But if you edit the file after parsing it, tree-sitter can generally update the previous existing syntax tree to reflect your edit in less than a millisecond, thanks to its incremental parsing system.
References
- The Rust Reference — While Rust does not have a specification, the reference tries to describe its working in detail. It tends to be out of date.
- Keywords and Operators and Symbols.
0.23.0
10 months ago
0.21.0
1 year ago
0.20.4
2 years ago
0.20.3
3 years ago
0.20.2
3 years ago
0.20.1
3 years ago
0.20.0
4 years ago
0.19.0
4 years ago
0.19.1
4 years ago
0.17.0
5 years ago
0.16.0
6 years ago
0.15.2
6 years ago
0.15.1
6 years ago
0.15.0
6 years ago
0.13.7
6 years ago
0.13.6
6 years ago
0.13.5
7 years ago
0.13.4
7 years ago
0.13.3
7 years ago
0.13.2
7 years ago
0.13.1
7 years ago
0.13.0
7 years ago
0.11.0
7 years ago
0.6.0
7 years ago
0.5.3
7 years ago
0.5.2
7 years ago
0.5.1
7 years ago
0.5.0
7 years ago
0.4.1
7 years ago
0.4.0
7 years ago
0.3.0
8 years ago
0.2.0
8 years ago
0.1.0
8 years ago