| Title: | 'R' Grammar for 'Tree-Sitter' | 
| Version: | 1.2.0 | 
| Description: | Provides bindings to an 'R' grammar for 'Tree-sitter', to be used alongside the 'treesitter' package. 'Tree-sitter' builds concrete syntax trees for source files of any language, and can efficiently update those syntax trees as the source file is edited. | 
| License: | MIT + file LICENSE | 
| URL: | https://github.com/r-lib/tree-sitter-r | 
| BugReports: | https://github.com/r-lib/tree-sitter-r/issues | 
| Depends: | R (≥ 4.3.0) | 
| Suggests: | testthat (≥ 3.0.0), treesitter | 
| Config/build/bootstrap: | TRUE | 
| Config/Needs/website: | tidyverse/tidytemplate | 
| Config/testthat/edition: | 3 | 
| Encoding: | UTF-8 | 
| RoxygenNote: | 7.3.2 | 
| NeedsCompilation: | yes | 
| Packaged: | 2025-06-05 19:43:57 UTC; davis | 
| Author: | Davis Vaughan [aut, cre], Posit Software, PBC [cph, fnd], Tree-sitter authors [cph] (Tree-sitter C headers and parser.c) | 
| Maintainer: | Davis Vaughan <davis@posit.co> | 
| Repository: | CRAN | 
| Date/Publication: | 2025-06-05 20:00:02 UTC | 
treesitter.r: 'R' Grammar for 'Tree-Sitter'
Description
Provides bindings to an 'R' grammar for 'Tree-sitter', to be used alongside the 'treesitter' package. 'Tree-sitter' builds concrete syntax trees for source files of any language, and can efficiently update those syntax trees as the source file is edited.
Author(s)
Maintainer: Davis Vaughan davis@posit.co
Other contributors:
- Posit Software, PBC [copyright holder, funder] 
- Tree-sitter authors (Tree-sitter C headers and parser.c) [copyright holder] 
See Also
Useful links:
tree-sitter language for R
Description
language() returns a tree_sitter_language object for R for use with the
treesitter package.
Usage
language()
Value
A tree_sitter_language object.
Examples
language()