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

Would this be possible in a framework like Ruby or Rails #80

Closed
Bennet-Sunder opened this issue Jul 23, 2020 · 9 comments
Closed

Would this be possible in a framework like Ruby or Rails #80

Bennet-Sunder opened this issue Jul 23, 2020 · 9 comments

Comments

@Bennet-Sunder
Copy link
Contributor

Considering that ruby is not statically typed and has meta-programming where it's hard to find the references of a particular flag. Just curious about the possibilities.

@mkr-plse
Copy link
Contributor

It is possible to implement a variant of Piranha for ruby using Parser. As for your question on finding references to a particular flag, it depends on the coding style, the availability of tools to perform alias analysis, etc. If you can share some examples on expected refactorings, I can clarify further.

@ketkarameya
Copy link
Collaborator

@Bennet-Sunder This can now be done by adding support for Ruby in polyglot-piranha .

@Bennet-Sunder
Copy link
Contributor Author

Bennet-Sunder commented Mar 1, 2024

@mkr-plse @ketkarameya just as a heads up I have submitted a draft PR for adding support for ruby. Will clean it up and mark it ready for review by next week.

@juamanti
Copy link

Hello, @Bennet-Sunder what's the progress on adding support for ruby?

@juamanti
Copy link

Let us know since our org would like to integrate with Piranha, pending with that integration

@Bennet-Sunder
Copy link
Contributor Author

@juamanti it should be merged shortly, you can follow the PR for updates on when it'll be merged. In the meanwhile you can evaluate it using my fork.

@juamanti
Copy link

Will do!

@Bennet-Sunder
Copy link
Contributor Author

@juamanti support for ruby is now merged (#649) and it should be available in the next release.

@juamanti
Copy link

juamanti commented May 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants