Skip to content

Conversation

@Antman261
Copy link

Adding tree sitter for zig. Followed the instructions in the readme, not sure if there is anything else to do. It installed successfully

@Antman261 Antman261 marked this pull request as draft November 20, 2025 15:06
@Antman261
Copy link
Author

Having trouble getting this to build correctly, not sure if it's my environment, it's not even cloning the GitHub dependencies at all

"tree-sitter-typescript": "github:tree-sitter/tree-sitter-typescript#4ad3010c91d700026d036b5230e2d99ba94ae8a4",
"tree-sitter-xml": "github:tree-sitter-grammars/tree-sitter-xml#648183d86f6f8ffb240ea11b4c6873f6f45d8b67",
"tree-sitter-yaml": "github:tree-sitter-grammars/tree-sitter-yaml#7b03feefd36b5f155465ca736c6304aca983b267",
"tree-sitter-zig": "github:tree-sitter/zig-tree-sitter#a53dac49d66562006e84dd11211b7ae40db68263",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you picked up the wrong library. That's the tree-sitter bindings if you want to use tree-sitter in zig, eg if you want to parse typescript from your zig program. I think the correct library is https://github.com/tree-sitter-grammars/tree-sitter-zig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants