{"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 Lua 5.x and LuaJIT 2.x code, enabling incremental syntax analysis and AST generation.","skillfed_tags":["parsing","lua","ast"],"use_cases":["Build a Lua linter or code formatter that understands the full syntax tree.","Implement IDE features like symbol navigation or refactoring for Lua code.","Analyze Lua codebases for style violations or architectural patterns.","Generate documentation or metrics from Lua source files.","Create a Lua-aware code search or transformation tool."],"what_it_does":"tree-sitter-lua is a language grammar binding that provides Lua syntax support for the tree-sitter incremental parser framework. It parses Lua 5.x and LuaJIT 2.x code into syntax trees, enabling tools to analyze, transform, or lint Lua programs. The package ships as precompiled wheels for common platforms (macOS, Linux, Windows, ARM), so installation is straightforward across architectures.\n\nThe grammar is maintained as part of the tree-sitter-grammars organization and includes an external scanner for handling Lua's string and comment syntax. It's a low-level tool: you use it when building linters, code formatters, static analyzers, or IDE features that need to understand Lua syntax. You'll need to install the tree-sitter library separately to actually parse code with this grammar.","worth_installing":"Yes, if you are building developer tools for Lua and need accurate incremental parsing. The package is actively maintained, has no known vulnerabilities, and ships on multiple platforms. Install friction is moderate but manageable. Not necessary for end-user Lua applications\u2014only for tooling that must analyze Lua code."},"id":"tree-sitter-lua","links":{"html":"https://skillfed.io/packages/tree-sitter-lua","md":"https://skillfed.io/packages/tree-sitter-lua.md","pypi":"https://pypi.org/project/tree-sitter-lua/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-26","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-lua","python_support":"supports_current","summary":"Lua grammar for tree-sitter"},"popularity":{"monthly_downloads":1724438,"position":3613,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.0"}
