Open vinivendra opened 4 years ago
I am needing this feature, so I guess I could help, if you give me an idea from where to start
Hi! I took a look at this today and it doesn't look like it's gonna cause many problems. The implementation should be pretty simple. Maybe something like:
inheritances
property to the ProtocolDeclaration
class (like the one we have in ClassDeclaration
).SwiftSyntaxDecoder.swift
and SwiftTranslator.swift
(again, just like with ClassDeclaration
).TranspilationPass.swift
.KotlinTranslator.swift
.If you want to try an implementation, go ahead! If you have any problems, just let me know. Otherwise, I may be able to do this next weekend. Feel free to ping me if I forget.
Kotlin, like Swift, supports protocol inheritance. It would be useful to analyze and compare the feature in the two languages and see which cases can be translated correctly.