Latest / Developer tools

tree-sitter-generate

github.com · Package · Active

Library that generates C parser source from a Tree-sitter grammar

Visit github.com ↗Share

Stars
27.6k
Forks
3.1k
Open issues
110
Last commit
Releases
≥ 107
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

tree-sitter-generate is a Rust library for generating C source code from a Tree-sitter grammar. It is part of the wider Tree-sitter project, which builds incremental parsers that update a syntax tree as a file changes, so it suits developers who build parsers for editors or code tools.

Repository description on GitHub: “An incremental parsing system for programming tools”

What it does

  • Generates C source code from a Tree-sitter grammar
  • Part of a project with Rust, Wasm and command-line bindings
  • Documentation published on the Tree-sitter website

Good for

  • Generate a C parser from a custom grammar for an editor
  • Build incremental parsing into a code analysis tool

Suits: Developers building language parsers and grammars.

What you can try

Add the crate from crates.io to a Rust project, or follow the Tree-sitter documentation linked from its GitHub readme.

Install

cargo install tree-sitter-generate

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw tree-sitter-generate on , when it was first published on crates.io. The oldest published release on GitHub is 0.14.0-beta2, dated . tree-sitter-generate had been shipping tagged releases for 2086 days before it was found. 107 releases or more have been published in total; the latest is nightly ().

Day-7 and day-30 updates

Day 7 2 releases shipped

  • 2 releases in the first 7 days: v0.24.2 (6 Oct 2024), v0.24.3 (9 Oct 2024)

Checked , later than day 7 because tracking began after.

Day 30 2 releases shipped

  • 2 releases in the first 30 days: v0.24.2 (6 Oct 2024), v0.24.3 (9 Oct 2024)

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (29 in total, busiest month 3). Based on the most recent releases on record.
  1. Repository created on GitHub: tree-sitter/tree-sitter
  2. Release 0.14.0-beta2 (pre-release)
  3. Found: it was first published on crates.io. crates.io
  4. Release v0.26.12
  5. Release v0.26.13
  6. Release v0.27.0
  7. Release v0.27.1
  8. Release v0.27.2
  9. Release nightly (pre-release)
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 107 releases. All releases on GitHub

Quick answers

When was tree-sitter-generate released?
Its first tagged release on GitHub is dated 18 Jan 2019. Kip found it on crates.io on 4 Oct 2024.
Is tree-sitter-generate open source?
Its source is public on GitHub at tree-sitter/tree-sitter under the MIT licence.
What does tree-sitter-generate run on?
Library.
Is tree-sitter-generate free?
It is open source, so the code is free to read and run; check the licence for terms.
Is tree-sitter-generate still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
crates.iolisting
official API record
GitHub repositorytree-sitter/tree-sitter
REST API record
GitHub Releasesrelease list
REST API record

Stable ID crates-tree-sitter-generate. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.