The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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:

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()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.