piranha icon indicating copy to clipboard operation
piranha copied to clipboard

Support for .NET

Open Kavignon opened this issue 5 years ago • 4 comments

Are there any plans for support in .NET?

Kavignon avatar Mar 26 '20 15:03 Kavignon

Is there a guide available to add support to new platforms/languages?

Kavignon avatar Mar 26 '20 15:03 Kavignon

Currently, .NET support is not planned. Section 4.3 of the Piranha report provides an overview of the refactoring. This, along with one of the existing implementations (e.g.,PiranhaJava), will be a good starting point to start implementing Piranha for any other language.

mkr-plse avatar Mar 26 '20 17:03 mkr-plse

@Kavignon it looks like roslyn is the way to go for transforming C# code (I assume you wanted C# support):

https://github.com/dotnet/roslyn

Here's an article I found on transforming C# code with Roslyn:

https://tomassetti.me/getting-started-with-roslyn-transforming-c-code/

msridhar avatar Apr 08 '20 17:04 msridhar