piranha icon indicating copy to clipboard operation
piranha copied to clipboard

Python support

Open ffmmjj opened this issue 3 years ago • 3 comments

Hi everyone,

I've had some success using Piranha with a Java project at my previous job and I'm now starting in a new company that uses mostly Python so I'd like to check how (and if) we could add support for Python in Piranha.

To be honest, I've already started something on my own here and if there're no issues in terms of licensing or overall project goals, I can keep in touch to let you folks know when this project gets mature enough to maybe get integrated into this codebase.

Do you see any impediment to this initiative?

ffmmjj avatar Jun 06 '21 15:06 ffmmjj

Thanks for reaching out. We certainly would love to have Piranha for Python. Quickly glanced over your implementation which is using codemods and is rewriting the code structurally. This fits in well with other variants of Piranha.

We look forward to integrating your implementation when it is ready.

mkr-plse avatar Jun 07 '21 13:06 mkr-plse

@ffmmjj you can now add Python support for Piranha by onboarding Python on to Polyglot Piranha.

ketkarameya avatar Aug 07 '22 17:08 ketkarameya

@ketkarameya Can this issue be left open until Python support (tree sitter queries) is added to Piranha?

mkramanathan avatar Aug 08 '22 16:08 mkramanathan