tree-sitter-lua
Lua language grammar for the Tree-sitter parser generator.
Languages, types and runtimes PyPI MIT
How tree-sitter-lua is used
tree-sitter-lua is a dependency in 1 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 31 projects, and what it is used with below comes from all of them. The most used alternative in our scan is tree-sitter-swift (2 projects). Projects that use it most often also use tree-sitter (100.0%), tree-sitter-cpp (100.0%), tree-sitter-java (100.0%).
tree-sitter-lua popularity over time
Gid Score 37: downloads 57, use in agent projects 34, GitHub stars 0, downloads trend 55 (each 0-100). How it is calculated.
Often used with tree-sitter-lua
| tree-sitter | 100.0% of tree-sitter-lua projects · 238.9× more than average |
|---|---|
| tree-sitter-cpp | 100.0% of tree-sitter-lua projects · 776.4× more than average |
| tree-sitter-java | 100.0% of tree-sitter-lua projects · 621.1× more than average |
| Tree-sitter JavaScript | 100.0% of tree-sitter-lua projects · 517.6× more than average |
| tree-sitter-rust | 100.0% of tree-sitter-lua projects · 776.4× more than average |
| tree-sitter-typescript (Python) | 100.0% of tree-sitter-lua projects · 477.8× more than average |
From all 31 projects in our scan that use tree-sitter-lua, including the dependency samples.
Install
| Package | pip install tree-sitter-lua |
|---|---|
| Main stacks | Python (31) |
Alternatives to tree-sitter-lua
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside tree-sitter-lua are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| tree-sitter-swift pypi Swift language grammar for the Tree-sitter parser generator for code analysis. |
38 | 2 (0.1%) | 606K | 225 | MIT |
More in Languages, types and runtimes: TypeScript tsx ts-node jiti vue-tsc Cloudflare Workers Types mypy tsconfig-paths