README.md

treesitter.r

R-CMD-check

treesitter.r exposes the R tree-sitter grammar for use with the language agnostic treesitter package. To use it, provide treesitter.r::language() as an argument to treesitter::parser().

Installation

Install treesitter.r from CRAN with:

install.packages("treesitter.r")

You can install the development version of treesitter.r from GitHub with:

# install.packages("pak")
pak::pak("r-lib/tree-sitter-r/bindings/r")


Try the treesitter.r package in your browser

Any scripts or data that you put into this service are public.

treesitter.r documentation built on Sept. 12, 2024, 7:06 a.m.