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.

bonsaisitter: Bindings to the 'Tree-Sitter' Parsing Library

A runtime for the 'Tree-sitter' parsing library <https://tree-sitter.github.io/tree-sitter/> that mirrors the API of the 'treesitter' package, so it can serve as a drop-in replacement. Parses source code into concrete syntax trees and updates them incrementally as the source changes. Grammars are supplied by separate packages such as 'treesitter.r', so the runtime itself depends on nothing beyond base R.

Version: 0.1.2
Suggests: tinytest, treesitter, treesitter.r
Published: 2026-09-17
DOI: 10.32614/CRAN.package.bonsaisitter
Author: Troy Hernandez ORCID iD [aut, cre], cornball.ai [cph], Max Brunsfeld [ctb, cph] (tree-sitter C library, bundled under src/tree-sitter), International Business Machines Corporation [cph] (ICU UTF-8 and UTF-16 headers, src/tree-sitter/lib/src/unicode), Unicode, Inc. [cph] (ICU license, src/tree-sitter/lib/src/unicode/LICENSE), Mathias Panzenböck [ctb] (src/tree-sitter/lib/src/portable/endian.h, public domain)
Maintainer: Troy Hernandez <troy at cornball.ai>
BugReports: https://github.com/cornball-ai/bonsaisitter/issues
License: MIT + file LICENSE
Copyright: cornball.ai, except the bundled tree-sitter sources under src/tree-sitter, whose holders are listed in inst/COPYRIGHTS.
bonsaisitter copyright details
URL: https://github.com/cornball-ai/bonsaisitter
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: bonsaisitter results

Documentation:

Reference manual: bonsaisitter.html , bonsaisitter.pdf

Downloads:

Package source: bonsaisitter_0.1.2.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: bonsaisitter_0.1.2.zip
macOS binaries: r-release (arm64): bonsaisitter_0.1.2.tgz, r-oldrel (arm64): bonsaisitter_0.1.2.tgz, r-release (x86_64): bonsaisitter_0.1.2.tgz, r-oldrel (x86_64): bonsaisitter_0.1.2.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=bonsaisitter to link to this page.

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.