No sure where to ask about this, but here seems th...
# compiler
l
No sure where to ask about this, but here seems the most fitting... Is there a compiler plugin which allows to inline html/xml so we could write something similar like jsx/tsx?
c
I think thats not possible because compiler plugins can not change the syntax of the language.
s
Maybe we should do KSP (Kotlin Server Page)
t
Wouldn't Compose for Web fit your needs? It is not exactly HTML/XML but it is quite easy to use it like Jsx. If you can live without the < and > characters, that is. Also, there is the Kotlin/HTML DSL: https://kotlinlang.org/docs/typesafe-html-dsl.html
l
Yeah, but personally I don't like the dsls to write html if i could just write HTML