tree-sitter-groovy
Groovy grammar for tree-sitter
Decision gist · record as of 2026-08-14
Yes, if you need tree-sitter-based Groovy parsing and accept the trade-offs: MIT license is clean, no runtime dependencies, and prebuilt wheels minimize friction. However, dormant maintenance (no activity since 2024-11-19) and the author's own caveat that it is unpolished mean you should verify the grammar covers your use case and be prepared to fork or patch if bugs emerge. Suitable for experimental or internal tooling; less suitable for production systems requiring active support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.9.
- The package provides a grammar binding; actual parsing requires external tree-sitter infrastructure not bundled here.
- Medium install friction due to compiled wheels; prebuilt binaries available for common platforms (macOS x86/ARM, Linux x86/ARM, Windows).
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, making it safe for most projects.
last release 2024-11-19 (633 days) · last repo commit 2024-11-19 · 3 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,624,833 downloads/mo, #3,708 on PyPI
Alternatives
Verify before relying
pip install tree-sitter-groovy
import tree_sitter_groovy- Whether tree-sitter is automatically installed as a dependency or must be installed separately.
- Completeness and correctness of the Groovy grammar coverage relative to the full Groovy language specification.
- Whether the package is actively maintained or if dormancy signals abandonment.
- How to integrate this grammar with a parsing workflow in practice.
What it is and what it does
tree-sitter-groovy is a language binding that provides a Groovy grammar for the tree-sitter parsing framework. Tree-sitter is an incremental parser generator; this package supplies the grammar rules specific to Groovy, allowing you to parse Groovy source files and extract their syntax trees programmatically.
The package is young—first and latest release on 2024-11-19—and the author describes it as a work-in-progress built quickly to test a concept. It has no runtime dependencies and is available as precompiled wheels for Python 3.9+ across macOS, Linux, and Windows architectures. Maintenance is dormant, with no commits or releases since its initial version.
Use it for
- Build a Groovy code linter or formatter that needs to understand Groovy syntax structure.
- Extract metrics or patterns from Groovy codebases by traversing the parsed syntax tree.
- Analyze Groovy build scripts programmatically to audit or refactor them.
- Support Groovy language features in a Python-based development tool.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need tree-sitter-based Groovy parsing and accept the trade-offs: MIT license is clean, no runtime dependencies, and prebuilt wheels minimize friction.
However, dormant maintenance (no activity since 2024-11-19) and the author's own caveat that it is unpolished mean you should verify the grammar covers your use case and be prepared to fork or patch if bugs emerge. Suitable for experimental or internal tooling; less suitable for production systems requiring active support.
Install
tree-sitter-groovy on PyPI
Before you install
Medium install friction due to compiled wheels; prebuilt binaries available for common platforms (macOS x86/ARM, Linux x86/ARM, Windows). Dormant maintenance—last release and commit both 2024-11-19, with no activity since. Use only if you accept potential staleness.
Requires Python >=3.9. The package provides a grammar binding; actual parsing requires external tree-sitter infrastructure not bundled here.
License in practice
MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, making it safe for most projects.
Quickstart
pip install tree-sitter-groovy
import tree_sitter_groovy
Verify before relying
- Whether tree-sitter is automatically installed as a dependency or must be installed separately.
- Completeness and correctness of the Groovy grammar coverage relative to the full Groovy language specification.
- Whether the package is actively maintained or if dormancy signals abandonment.
- How to integrate this grammar with a parsing workflow in practice.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 633 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,624,833 / month, #3,708 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersTopic :: Software Development :: CompilersTopic :: Text Processing :: LinguisticTyping :: Typed |
Evidence: tree_sitter_groovy-0.1.2-cp39-abi3-macosx_10_9_x86_64.whl; tree_sitter_groovy-0.1.2-cp39-abi3-macosx_11_0_arm64.whl; tree_sitter_groovy-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; tree_sitter_groovy-0.1.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; tree_sitter_groovy-0.1.2-cp39-abi3-musllinux_1_2_x86_64.whl; tree_sitter_groovy-0.1.2-cp39-abi3-win_amd64.whl; tree_sitter_groovy-0.1.2-cp39-abi3-win_arm64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “groovy parser”
- tree-sitter-groovyProvides a Groovy language grammar for tree-sitter, enabling…
- groovyTranspiles Python functions to JavaScript, converting Python code to…
- gremlinpythonGremlin-Python is a Python client for Apache TinkerPop that lets you…
Give your agent the search over MCP, or paste the wish link into any chat.
More Linguistic packages
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.
Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.
Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.
Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.
Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.
However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.
Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.
Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.
See also tree-sitter-python · tree-sitter-ruby · tree-sitter-java · tree-sitter-powershell · tree-sitter-go · tree-sitter-kotlin · tree-sitter-zig · tree-sitter-fortran · tree-sitter-elixir · groovy