@yole I see, good to know. In my past project, I converted an AST of another language (a C++ subset in that case) to a Lua, which I believe is how Kotlin JS is working now (translating from a Kotlin AST)? One thing I like about AST over IR approach is that I have the opportunity to express the high level Kotlin constructs in a way that makes most sense in the target language (leading to more readable output in the target language), whereas with the IR approach, my understanding is that I would only have visibility into how the Kotlin compiler decided to represent higher level concepts in the lower level IR