mozilla / rust-code-analysis

Library to analyze and collect metrics on source code
https://mozilla.github.io/rust-code-analysis/
276 stars 49 forks source link

Document how to update grammars #1079

Closed Luni-4 closed 1 month ago

Luni-4 commented 9 months ago

This PR fixes #979

It adds to the developer section of the book a guide to update both third-party grammars and internal grammars.

marco-c commented 9 months ago

Looks good to me, but could you try to do a grammar update following the steps here to make sure nothing was missed?

Luni-4 commented 9 months ago

Sure! I'm going to add tree-sitter-java update soon

marco-c commented 6 months ago

@Luni-4 ping :)

marco-c commented 1 month ago

@alexle0nte did you follow the steps documented here for https://github.com/mozilla/rust-code-analysis/pull/1086? Is there anything missing that we should add?

alexle0nte commented 1 month ago

did you follow the steps documented here for #1086? Is there anything missing that we should add?

Yes, I followed these steps. Regarding the update of grammar versions, the guide is complete. If I notice anything missing while fixing the tests, I'll report it

marco-c commented 1 month ago

Perfect, thanks!