Skip to content
New issue

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

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

Already on GitHub? # to your account

Support tree-sitter dependencies #4

Open
sluongng opened this issue Mar 8, 2023 · 1 comment
Open

Support tree-sitter dependencies #4

sluongng opened this issue Mar 8, 2023 · 1 comment

Comments

@sluongng
Copy link

sluongng commented Mar 8, 2023

Tree-sitter does support extending grammar from existing language grammar.

For instance, the tree-sitter-starlark package is an extension of tree-sitter-python.

https://github.com/amaanq/tree-sitter-starlark/blob/8ad93a74c2a880bc16325affba3cc66c14bb2bde/grammar.js#L16

In this case, I think it would be nice if we could leverage rules_js dependency system somehow 🤔

@elliottt
Copy link
Owner

elliottt commented Mar 8, 2023

I think that's a great idea!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants