A Better R Programming Experience Thanks to Tree-sitter
😸R itself can obviously parse R code, thanks to its grammar.
The {treesitter} R package allows us to use Tree-sitter from R. To parse R code with it, we need the language() function from {treesitter.r}.
You can parse and search R code using the {treesitter} R package and treesitter query syntax.
The {treesitter} R package is a dependency of the {gander} package by Simon Couch, that is meant to be used for a better experience with LLMs when writing R code.
The {muttest} package by Jakub Sobolewski is an R package for mutation testing, that depends on the {treesitter} R package.
47 минут назад @ ropensci.org
infomate
