treesitter: Bindings to 'Tree-Sitter'

Provides bindings to 'Tree-sitter', an incremental parsing system for programming tools. '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. It also includes a robust error recovery system that provides useful parse results even in the presence of syntax errors.

Package details

AuthorDavis Vaughan [aut, cre], Posit Software, PBC [cph, fnd], Tree-sitter authors [cph] (Tree-sitter C library)
MaintainerDavis Vaughan <davis@posit.co>
LicenseMIT + file LICENSE
Version0.3.0
URL https://github.com/DavisVaughan/r-tree-sitter https://davisvaughan.github.io/r-tree-sitter/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("treesitter")

Try the treesitter package in your browser

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

treesitter documentation built on June 8, 2025, 12:45 p.m.