Skip to content

bonsaisitter

0.1.2Package record

Bindings to the 'Tree-Sitter' Parsing Library

0packages depend
517downloads / year
61.4%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.1.2

Resubmission after CRAN's incoming pretest of 0.1.1, which stopped on the

"pragmas suppressing diagnostics" NOTE.

  • Remove the #pragma GCC diagnostic ignored blocks, and their MSVC counterparts, from the bundled lib/src/array.h and lib/src/wasm_store.c. Both files compile without warnings without them. Recorded as patch 3 in src/tree-sitter/PATCHES.md. No other source changed.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK5 OK2026-09-18
Advisories

none known

Documentation

In release 0.1.2
READMEYes · 249 wordsVignettesNoNEWSYes · 100% structured · mentions 0.1.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
51 (1 internal)includes a package overview page
Examples that run
100%50 run in a plain check (48 of them under a condition)
Exported functions with examples
100%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
0%

Downloads

517
CRAN downloads in the past year
Rank #24,241 · ~1/day · ~43/mo
Daily download trend is not available in this view yet.
36330 days
51790 days
5171 year
Compare downloads with other packages →
Also on18 r2u50 autocran

Repository

0Stars
0Forks
1Open issues
0Open PRs
0Releases
Last activity 2026-09-08
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
not measured
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/cornball-ai/bonsaisitter on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and macOS

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-03-02
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Commits: at least 2 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 2 from outside contributors, first on 2026-09-07
Models named in its commits
  • Claude Fable 5.12 commits · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing bonsaisitter adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (6)
Author, Maintainer since 0.1.2 (2026)
Contributor, Copyright holder
tree-sitter C library, bundled under src/tree-sitter
Contributor
src/tree-sitter/lib/src/portable/endian.h, public domain
Copyright holder
ICU UTF-8 and UTF-16 headers, src/tree-sitter/lib/src/unicode
Copyright holder
ICU license, src/tree-sitter/lib/src/unicode/LICENSE
Copyright holder
Releases (1)
  • 0.1.2Latest
    2026-09-17 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-09-17
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Copyright
cornball.ai, except the bundled tree-sitter sources under src/tree-sitter, whose holders are listed in inst/COPYRIGHTS.
Download size
192 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bonsaisitter")
Hernandez, T., International Business Machines Corporation, Unicode, Inc., cornball.ai, Brunsfeld, M., & Panzenböck, M. (2026). bonsaisitter: Bindings to the 'Tree-Sitter' Parsing Library (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.bonsaisitter

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for bonsaisitter version 0.1.2 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy