OPEN_SOURCE ↗
HN · HACKER_NEWS// 3h agoOPENSOURCE RELEASE
R ecosystem hits modern era with Tree-sitter
rOpenSci has announced the completion of a comprehensive R grammar for Tree-sitter, a move that fundamentally upgrades the language's development experience. By replacing brittle regular expressions with high-performance, incremental parsing, the new grammar enables advanced features in IDEs like Positron and GitHub, while powering a new generation of fast Rust-based linters and reformatters.
// ANALYSIS
Tree-sitter is the "infrastructure upgrade" R desperately needed to escape its reputation for slow, brittle developer tooling and finally play in the same league as Rust and Python.
- –Incremental parsing enables instant, reactive IDE features like smart selection and hover documentation without lag.
- –Powers new high-performance tools like the Air reformatter and Jarl linter, moving past brittle text-based patterns.
- –Improves GitHub's structural navigation and enables more precise dependency scanning via the {pkgdepends} package.
- –Essential for modern AI-assisted coding, providing LLMs with accurate ASTs for better context and more reliable generation.
// TAGS
tree-sitterridedevtoolopen-sourcetree-sitter-r
DISCOVERED
3h ago
2026-04-17
PUBLISHED
6h ago
2026-04-16
RELEVANCE
8/ 10
AUTHOR
sebg