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

using tree-sitter #1

Open
kendfss opened this issue May 8, 2022 · 1 comment
Open

using tree-sitter #1

kendfss opened this issue May 8, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@kendfss
Copy link

kendfss commented May 8, 2022

I think it would be possible to use tree sitter to extend language support.
Here's a port for go, there could be others
https://github.com/kgrigorev/go-tree-sitter

@MrMarble
Copy link
Owner

MrMarble commented May 8, 2022

Oh, that's cool!

Did not know about tree-sitter, I did look for lexers/tokenizers made in Go but the ones I found only had support for a couple of languages, so I decided not to use them.

I found this other port which have more languages configured (the one you linked only have support for JSON and Golang): https://github.com/smacker/go-tree-sitter

Will try to implement it!

@MrMarble MrMarble self-assigned this May 8, 2022
@MrMarble MrMarble added the enhancement New feature or request label May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants