tree-sitter-rust
tree-sitter-c-sharp
tree-sitter-rust | tree-sitter-c-sharp | |
---|---|---|
8 | 5 | |
372 | 205 | |
2.7% | 2.9% | |
7.8 | 7.9 | |
about 1 month ago | 11 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tree-sitter-rust
-
Topiary: A code formatting engine leveraging Tree-sitter
Yes. It's typically a fair bit slower than a hand-coded parser. The idea sounds great until you're working on a codebase with 2 million LOC. At that point, the speed of a cold parse is most important, whereas TS is designed for fast re-parsing of a single file. These aren't great numbers but the Rust TS parser is reportedly 2x slower than rustc's https://github.com/tree-sitter/tree-sitter-rust. It's no surprise that you just use the faster option if it's convenient.
- Emacs and Java Development: Corfu + Cape + LSP-Mode + Treesit
- Treesitter large file performance... Even with everything disabled?
- Building tree-sitter languages for Emacs
-
Is it possible to have Rust doc test comments highlighted in Neovim?
Notes for anyone interested, there is this PR https://github.com/tree-sitter/tree-sitter-rust/pull/128, which merges successive doc comments.
-
Rust and Neovim - A Thorough Guide and Walkthrough
Tree-sitter is a fantastic parser generation and incremental parsing library, that supports Rust language bindings and has an available parser Rust tree-sitter-rust.
-
Plugins to help writing a new tree-sitter parser?
You can see a much more in-depth version at https://github.com/tree-sitter/tree-sitter-typescript or https://github.com/tree-sitter/tree-sitter-rust
-
Is rust-analyzer for neovim ever going to support semantic syntax highlighting?
I'll be really interested to see what folks end up preferring once nvim 0.5 ships with treesitter support. Do folks have any experience with the Rust grammar?
tree-sitter-c-sharp
- Emacs and Java Development: Corfu + Cape + LSP-Mode + Treesit
-
How to use Emacs 29 Tree-sitter?
Any particular reasons you were looking at that old commit ? the latest master branch seems to have a highlights.scm file
- tree-sitter-c-sharp: C# Grammar for tree-sitter
-
Csharpmode Adds Support For Treesitter
tree-sitter seems to support records as well as a lot of other things. That said, it might not be exposed in csharp mode yet. In my experience it has been super easy to add new constructs. Some time in the future I will make this user customizable as well. Maybe you want something to be highlighted as keywords which has a different default. That sort of thing.
What are some alternatives?
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
tree-sitter-ruby - Ruby grammar for tree-sitter
rust-analyzer - A Rust compiler front-end for IDEs
tree-sitter-python - Python grammar for tree-sitter
tree-sitter-graphql - Treesitter grammar for GraphQL
tree-sitter-typescript - TypeScript grammar for tree-sitter
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
tree-sitter-javascript - Javascript grammar for tree-sitter
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
.emacs.d - My personal Emacs config with any quirks, oddities, bugs, and man-eating errors I live with on a daily basis.
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
tree-sitter-module - Building script for tree-sitter language definitions