tree-sitter-rust
Rust grammar for tree-sitter (by tree-sitter)
tree-sitter-php
PHP grammar for tree-sitter (by tree-sitter)

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
tree-sitter-rust | tree-sitter-php | |
---|---|---|
8 | 4 | |
377 | 165 | |
2.9% | 3.0% | |
7.8 | 8.5 | |
18 days ago | 13 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of tree-sitter-rust.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-20.
-
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-php
Posts with mentions or reviews of tree-sitter-php.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-30.
- Building tree-sitter languages for Emacs
-
PHP variable highlighting problem
Thank you, but i didn't get what highlights.scm do you mean, it this one https://github.com/tree-sitter/tree-sitter-php/blob/master/queries/highlights.scm It doesn't contain @keyword for "$", only @operator one
- tree-sitter-php: PHP grammar for tree-sitter
- My major-mode for PHP, phps-mode, now has a built-in PHP 8.0 Parser written entirely in Emacs-Lisp
What are some alternatives?
When comparing tree-sitter-rust and tree-sitter-php you can also consider the following projects:
rust-analyzer - A Rust compiler front-end for IDEs
tree-sitter-zig - Tree-sitter package for the Zig programming language
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
tree-sitter-c - C grammar for tree-sitter
tree-sitter-graphql - Treesitter grammar for GraphQL
treesit-langs - Language bundle for Emacs's tree-sitter package
tree-sitter-javascript - Javascript grammar for tree-sitter
emacs-phps-mode - Emacs major mode for PHP with code intelligence
tree-sitter-python - Python grammar for tree-sitter
tree-sitter-make
tree-sitter-sql - SQL syntax highlighting for tree-sitter
tree-sitter-rust vs rust-analyzer
tree-sitter-php vs tree-sitter-zig
tree-sitter-rust vs LanguageClient-neovim
tree-sitter-php vs tree-sitter-c
tree-sitter-rust vs tree-sitter-graphql
tree-sitter-php vs treesit-langs
tree-sitter-rust vs tree-sitter-javascript
tree-sitter-php vs emacs-phps-mode
tree-sitter-rust vs tree-sitter-python
tree-sitter-php vs tree-sitter-make
tree-sitter-rust vs tree-sitter-c
tree-sitter-php vs tree-sitter-sql

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured