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

Support for Sway in grep-ast #5305

Open
gww-fuel opened this issue Nov 28, 2023 · 2 comments · May be fixed by Aider-AI/grep-ast#4
Open

Support for Sway in grep-ast #5305

gww-fuel opened this issue Nov 28, 2023 · 2 comments · May be fixed by Aider-AI/grep-ast#4

Comments

@gww-fuel
Copy link

There are tools like grep-ast that are great for programmers:

$ grep-ast pattern files...`

they support variety of languages (e.g. rust - $ grep-ast --languages` : https://github.com/paul-gauthier/grep-ast (btw. can be also installed via pipx install grep-ast),

As backend some of these tools use libraries like:

to be part of big family of parsers.

I was wondering where to put such feature request to consider adding Sway support to tree-sitter to enable tools that use it to parse.

I know team is busy with launch, I wish github issues would have option "schedule submitting new issue" so I could schedule it for next year to not forget :).

@JoshuaBatty
Copy link
Member

Hey @gww-fuel thanks for the issue. Not sure if you have seen this repo? https://github.com/FuelLabs/tree-sitter-sway

We already have tree sitter grammar for sway in the repo. Let me know if there was something else you think is missing from that implementation :)

@gww-fuel
Copy link
Author

How could I have missed it! Thank you!

Let's try to add it to tools like grep-ast etc!

@sdankel sdankel changed the title Tree-sitter support for Sway Support for Sway in grep-ast Nov 28, 2023
@sdankel sdankel linked a pull request Nov 28, 2023 that will close this issue
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 a pull request may close this issue.

2 participants