Basically, I see these possible ways for scripting:
- PicoC as a module (very easy, should work pretty much out of the box, moderate C knowledge needed, but is it worth it?)
- TCC (one has to implement software floating point - strong C and ARM ASM knowledge needed, it's beyond my current skills, but g3gg0 has some ideas)
- Lua (straightforward, no more memory problems after the new backend, moderate C knowledge needed, one has to tweak it and write and maintain a nice API, maybe close to CHDK)
See also
this comparison.
The scripting GUI module is pretty much engine-independent (one could use it as a front-end for any scripting engine you may think of). So, if you want to port Forth or Lisp or whatever other language, you should be able to integrate it in the same GUI.
I still hope somebody will implement one of these before I'll be able to; the proof-of-concept code is already there.