{"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 tree-sitter grammar for parsing Swift source code, enabling incremental syntax analysis and abstract syntax tree generation.","skillfed_tags":["parsing","swift","syntax-analysis"],"use_cases":["Build a Swift linter or code quality checker that traverses the syntax tree to detect style violations.","Implement IDE features like syntax highlighting, code completion, or go-to-definition by querying the parse tree.","Analyze Swift codebases to extract metrics, find unused code, or refactor patterns across multiple files.","Create a Swift-to-other-language transpiler or code generator that walks the syntax tree and emits different output.","Develop a documentation generator that parses Swift source to extract and format API signatures and comments."],"what_it_does":"tree-sitter-swift is a language grammar binding that plugs into the tree-sitter incremental parsing framework to parse Swift source code. It generates a syntax tree representation of Swift programs, which can be used for code analysis, transformation, linting, or IDE features. The package provides precompiled wheels for multiple platforms, eliminating the need to build the grammar locally in most cases.\n\nThe grammar is maintained actively and designed to work with tree-sitter's core parser engine. It can be used from Python, Rust, JavaScript/Node.js, or WebAssembly environments depending on which tree-sitter binding you pair it with. The package itself contains only the language definition; you supply the tree-sitter parser library separately to actually parse code.","worth_installing":"Yes, if you need to parse Swift code programmatically. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and provides prebuilt wheels for common platforms. The main caveat is that tree-sitter itself must be available in your environment; verify that dependency is clear before installing."},"id":"tree-sitter-swift","links":{"html":"https://skillfed.io/packages/tree-sitter-swift","md":"https://skillfed.io/packages/tree-sitter-swift.md","pypi":"https://pypi.org/project/tree-sitter-swift/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-01","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-swift","python_support":"supports_current","summary":"Swift grammar for tree-sitter"},"popularity":{"monthly_downloads":1943531,"position":3415,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.7.3"}
