🌴 TreeHaver is a cross-Ruby adapter for the tree-sitter parsing library that works seamlessly across MRI Ruby, JRuby, and TruffleRuby. It provides a unified API for parsing source code using tree-sitter grammars, regardless of your Ruby implementation. Like Faraday for HTTP or multi_json for JSON, TreeHaver lets you write once and run anywhere with automatic backend selection (MRI C extensions, Rust extensions, FFI, or Java).

Required Ruby Version

>= 3.2.0

Authors

Peter H. Boling

Versions

  1. 7.1.8 September 07, 2026 (118 KB)
  2. 7.1.7 September 02, 2026 (117 KB)
  3. 7.1.6 August 30, 2026 (117 KB)
  4. 7.1.5 August 30, 2026 (117 KB)
  5. 7.1.4 August 23, 2026 (117 KB)
  6. 4.0.5 January 10, 2026 (158 KB)
Show all versions (35 total)

Pushed by

SHA 256 checksum

Signature validity period

May 04, 2025 - April 29, 2045