Zig grammar for tree-sitter, enabling syntax parsing of Zig source code. Currently at version 1.1.2, updated as needed alongside Zig language changes.
pip install tree-sitter-zigNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Build the grammar and parse Zig source code
Update Zig source to follow Zig 0.11+ syntax, or use older grammar version for legacy code.
Change import to `from tree_sitter_zig import language_zig`.
Ensure you run Language.build_library once per machine before parsing.