{"id":19785771,"url":"https://github.com/ziglibs/tree-sitter-zig","last_synced_at":"2025-04-30T23:30:58.529Z","repository":{"id":156840893,"uuid":"631386722","full_name":"ziglibs/tree-sitter-zig","owner":"ziglibs","description":"Zig tree-sitter grammar","archived":false,"fork":false,"pushed_at":"2024-07-13T12:11:49.000Z","size":1982,"stargazers_count":21,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-23T19:24:02.731Z","etag":null,"topics":["tree-sitter","zig"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ziglibs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-22T21:31:47.000Z","updated_at":"2024-11-26T05:01:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4da5e01-5d4b-4968-ae5f-72800ce1f016","html_url":"https://github.com/ziglibs/tree-sitter-zig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Ftree-sitter-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Ftree-sitter-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Ftree-sitter-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Ftree-sitter-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziglibs","download_url":"https://codeload.github.com/ziglibs/tree-sitter-zig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251799423,"owners_count":21645794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tree-sitter","zig"],"created_at":"2024-11-12T06:15:42.703Z","updated_at":"2025-04-30T23:30:58.265Z","avatar_url":"https://github.com/ziglibs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tree-sitter-zig\n\n[tree-sitter](https://github.com/tree-sitter/tree-sitter) grammar inspired by and partially built on [maxxnino/tree-sitter-zig](https://github.com/maxxnino/tree-sitter-zig) that's going to be made simple to query and structure-preserving on error rather than 100% adherent to the Zig spec. This grammar can successfully parse every behavior testcase, all std files, and all compiler files.\n\n## Tests\n\n```bash\nnpm i\n```\n\nThen:\n```bash\n.\\node_modules\\.bin\\tree-sitter generate; .\\node_modules\\.bin\\tree-sitter parse .\\test\\samples\\hello.zig\n```\n\n```bash\nnode .\\test\\valid.mjs --path=C:\\Programming\\Zig\\zig\\test\\cases\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglibs%2Ftree-sitter-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziglibs%2Ftree-sitter-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglibs%2Ftree-sitter-zig/lists"}