I believe it would be nice to have a plugin system for Dukat generation.
One of the most important piece that is currently missing is generating RBuilder extensions (react wrappers) for react component libraries. But react is a separate domain from Dukat's pure TS->Kotlin conversion, so this functionality shouldn't really live inside Dukat itself.
However, if such generation were automatable, building it as a Dukat plugin would make sense, because it could make use of the type-awareness and internal representations of Dukat. It would be much simpler to do this rather than parse/reflect on the generated Kotlin code in a totally separate tool.
I believe it would be nice to have a plugin system for Dukat generation.
One of the most important piece that is currently missing is generating
RBuilder
extensions (react wrappers) for react component libraries. But react is a separate domain from Dukat's pure TS->Kotlin conversion, so this functionality shouldn't really live inside Dukat itself.However, if such generation were automatable, building it as a Dukat plugin would make sense, because it could make use of the type-awareness and internal representations of Dukat. It would be much simpler to do this rather than parse/reflect on the generated Kotlin code in a totally separate tool.
What do you think?