{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides a Ruby language grammar for tree-sitter, enabling incremental parsing and abstract syntax tree generation for Ruby code.","skillfed_tags":["parsing","ruby-tooling","ast"],"use_cases":["Building a Ruby linter or static analysis tool that needs to traverse code structure.","Implementing a code formatter or refactoring tool for Ruby projects.","Creating IDE features like symbol extraction, navigation, or code completion.","Analyzing Ruby codebases to extract metrics, dependencies, or patterns.","Integrating Ruby parsing into a polyglot code analysis platform."],"what_it_does":"tree-sitter-ruby is a language binding that provides tree-sitter's incremental parsing engine for Ruby code. It ships as pre-built binary wheels for common platforms (macOS, Linux, Windows, ARM), reducing installation friction. The package contains a compiled grammar that can parse Ruby syntax into an abstract syntax tree, enabling tools to analyze, transform, or navigate Ruby code programmatically without invoking the Ruby interpreter.\n\nYou use it by importing the language module to access the grammar definition. This is useful for linters, code formatters, refactoring tools, or any application that needs to understand Ruby's structure. The grammar is maintained as part of the official tree-sitter project and references the Whitequark parser's AST format.","worth_installing":"Yes, if you need to parse Ruby code programmatically. The package is actively maintained, has no vulnerabilities, carries a permissive MIT license, and requires only Python 3.9+. Install friction is medium due to binary wheels, but prebuilt distributions are available for common platforms. Not necessary if you only need to run Ruby code\u2014use this when you need to analyze or manipulate Ruby syntax."},"id":"tree-sitter-ruby","links":{"html":"https://skillfed.io/packages/tree-sitter-ruby","md":"https://skillfed.io/packages/tree-sitter-ruby.md","pypi":"https://pypi.org/project/tree-sitter-ruby/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-11-11","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-ruby","python_support":"supports_current","summary":"Ruby grammar for tree-sitter"},"popularity":{"monthly_downloads":7105410,"position":1786,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.23.1"}
