By the way, does anybody know a way to make an expression from a statement in Python?
I researched this topic a bit today and it seems there is no way. So JS IR won't help much here because JS has a magic comma operator but Python doesn't. I guess we will have to take a look at JVM's IR to avoid reinventing the bicycle for this.
Another tricky translation part will be to support labels for continue, break, and return. There are some labels in JVM and JS but there aren't simply any in Python.
So looks like the journey is only starting :mind-blown: