VirtusLab / besom

Besom - a Pulumi SDK for Scala. Also, incidentally, a broom made of twigs tied round a stick. Brooms and besoms are used for protection, to ward off evil spirits, and cleansing of ritual spaces.
https://virtuslab.github.io/besom/
Apache License 2.0
122 stars 7 forks source link

Add PCL-to-Scala to codegen integration tests #235

Open pawelprazak opened 11 months ago

pawelprazak commented 11 months ago

We want to use the upstream test data in Pulumi Configuration Language format to test out program-gen capabilities.

Something like this was done in Java SDK: https://github.com/pulumi/pulumi-java/pull/745/files#diff-2acecac1595d2226af5b5be403ee19152649cf7a8f57a3febf06a417a3668510

pawelprazak commented 6 months ago

To optimize time-to-delivery, I've experimented with a polyglot approach on how to reuse both PCL AST and Scala AST implementations.

The first step was to explore the interoperability options and native image shared library is possible and achievable, e.g.: https://github.com/pawelprazak/golang-graal-scala