I'm comfortable C/C++, Java, Python, PHP, JS, but I've also used many other languages, like you. We call it compiling in the same sense that Java "compiles" to bytecode, I'd guess.What else would you call it? This is a source to source compiler. It translates the pseudo-Python source to pokescript. Essentially, you say msgbox("Hello world!") instead of
msgbox OFFSET
#org OFFSET
=Hello World!
So, it faces the same restrictions as the target "language". What's interesting to note is that the current scripting utilities aren't actually 1:1. There are certain commands that are combined (XSE translates msgbox into a loadpointer and a callstd, and an if COND goto OFFSET to if1, but if COND call OFFSET to if2).
I think you're mistaking what I want to do with physically recompiling the ELF sections - no such thing is necessary.