tree-sitter-swift
Swift language grammar for the Tree-sitter parser generator for code analysis.
Languages, types and runtimes PyPI MIT
How tree-sitter-swift is used
tree-sitter-swift is a dependency in 2 of the 6,211 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,980); counting those, it appears in 32 projects, and what it is used with below comes from all of them. Projects that use it most often also use tree-sitter (100.0%), NetworkX (96.9%), tree-sitter-cpp (96.9%).
tree-sitter-swift popularity over time
Gid Score 38: downloads 59, use in agent projects 34, GitHub stars 0, downloads trend 56 (each 0-100). How it is calculated.
Often used with tree-sitter-swift
| tree-sitter | 100.0% of tree-sitter-swift projects · 238.9× more than average |
|---|---|
| NetworkX | 96.9% of tree-sitter-swift projects · 97.0× more than average |
| tree-sitter-cpp | 96.9% of tree-sitter-swift projects · 752.1× more than average |
| tree-sitter-java | 96.9% of tree-sitter-swift projects · 601.7× more than average |
| Tree-sitter JavaScript | 96.9% of tree-sitter-swift projects · 501.4× more than average |
From all 32 projects in our scan that use tree-sitter-swift, including the dependency samples.
Install
| Package | pip install tree-sitter-swift |
|---|---|
| Main stacks | Python (32) |
| Example projects | gupta29470/codewalk |
Alternatives to tree-sitter-swift
In our scan, none of the most used tools in Languages, types and runtimes does the same job as tree-sitter-swift: they are add-ons, companions or tools for a different task.
More in Languages, types and runtimes: TypeScript tsx ts-node jiti vue-tsc Cloudflare Workers Types mypy tsconfig-paths