Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add go.mod grammar #78

Closed
andrerfcsantos opened this issue Jul 11, 2022 · 1 comment
Closed

Add go.mod grammar #78

andrerfcsantos opened this issue Jul 11, 2022 · 1 comment

Comments

@andrerfcsantos
Copy link

I think a pretty nice addition to the list of grammars supported by default would be tree-sitter-go-mod to parse the contents of go.mod files.

My use case is I'm using tree sitter to parse and analyze some Go code, and as part of that, some things I want to implement require me to read go.mod .Would be nice to use tree sitter for this.

@smacker
Copy link
Owner

smacker commented Oct 11, 2022

Hi @andrerfcsantos ! You can add any grammar to you project with a simple binding file like here: #58

@smacker smacker closed this as completed Oct 11, 2022
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

No branches or pull requests

2 participants