tree-sitter-rust icon indicating copy to clipboard operation
tree-sitter-rust copied to clipboard

Implement parsing `gen fn`

Open narpfel opened this issue 8 months ago • 2 comments

Generator functions were implemented in https://github.com/rust-lang/rust/pull/118457, tracking issue https://github.com/rust-lang/rust/issues/117078.

narpfel avatar Apr 07 '25 16:04 narpfel

Hi @narpfel , I have noticed that PRs in this repository are infrequently reviewed, so I have integrated your PR in a fork of this grammar. If you use this grammar in Rust, you can benefit from the improvements in this PR by switching to the tree-sitter-rust-orchard crate on crates.io. Let me know if you need the grammar published in another package repository. I would very much welcome more contributions like this one in the fork, to which I would also be happy to give you write access.

Dear maintainers, Thank you for your work. It is completely understandable that you have higher priorities in life than integrating external contributions in this repository. If you still wish those contributions to get reviewed, I encourage you to give maintainer rights to more people. The list of PRs and the commit log should help you identify trustworthy contributors who might be interested in helping out. Onboarding new contributors might also be easier if you adopt a governance model for this project. If there is any way I can help, let me know.

wetneb avatar Jun 04 '25 17:06 wetneb

Rebased onto current master.

narpfel avatar Oct 08 '25 20:10 narpfel