#2690 Fantom as an interpreted language in an Android JVM app

noncomSun 1 Apr

Hello!

I am looking for a scripting language beyond Lua or JavaScript for my next Android project and am wondering about Fantom.

My question is: can Fantom be used as an interpreted scripting language for a JVM app that runs both on desktop and mobile? If so, are there any docs on that? I was not able to find any, but also did not find any evidence for a definite "No". At least Fanton -> JS -> Rhino -> JVM -> Android way comes to mind, but Idk if it's really feasible..

Thanks!

go4Sun 1 Apr

The Android VM also support ClassLoader.defineClass. This means that Fantom can emit Java bytecode at runtime.