This message was deleted.
# contribute
s
This message was deleted.
👍 1
p
v
Oh this is awesome!! Thank you. VirtusLabs does so many awesome things for the JVM + Scala community
Do you know if there are plans to continue work on it/merge it by chance?
w
I'm hoping to catch up with @brave-dawn-64711 and @numerous-piano-36614 soon on plans for taking this further in 2022. I'd love to get to an official "preview" release out soon from this VirtusLab repo, and start getting some broader usage on that to provide feedback.
❤️ 3
b
yes, I’ve got Java SDK and provider codegen worked for terraform provider (kind) and for the native kubernetes provider
working on a real world demo now
would love to work on a Kotlin and Scala support, assuming I can get the funding
right now the work is sponsored by VirtusLab
v
Kotlin support would be amazing! You could take the approach of generating (roughly) identical DSL syntax in both Kotlin + Scala 3 I think, by using what Scala calls
context functions
and what Kotlin calls
block receivers
Stealing the
table/row/cell
DSL example from Scala docs:
Copy code
table {
  row {
    cell("top left")
    cell("top right")
  }
  row {
    cell("bottom left")
    cell("bottom right")
  }
}
I think it would be roughly something like this 👀
Copy code
def table(init: Table ?=> Unit) = ???
def row(init: Row ?=> Unit)(using t: Table) = ??? 
def cell(str: String)(using r: Row) = ???

fun table(block: (Table) -> Unit) {}
fun row(block: (Row) -> Unit) {}
fun Row.cell(str: String) {}
b
yes, that would have big impact on the user experience
d
Is there a repo out yet, I would love to help!
b
took a little longer than expected, but it's here 🙂 https://github.com/pulumi/pulumi-java
🎉 2
🚀 2
d
I saw it! It's awesome, I'm not entirely sure how to get use Scala3 with it though, but hopefully I get some time to look at it 😄