Monkey in flight compilation

Monkey Programming Forums/User Modules/Monkey in flight compilation

frank(Posted 2013) [#1]
TL;DR This is WIP and it doesn't work, but I have high hopes it will :)

Based on this discussion;

I decided to start some testing:

(interpreter is incorrect but I already named the project that way)

I am trying to get the HTML5 version working, then it should be possible to 'inject' monkey code into a running HTML5 application. It seems to be possible with Flash as well and there is a theoretical option for other languages also. My idea is to use it during the creation of apps; when they are doing compile everything as we normally do.

AdamRedwoods(Posted 2013) [#2]
I want to point out, not sure if this would effect you, but it is possible to extend the Builder class to override any methods or subclasses you may need to modify, instead of modifying anything in the original trans library.

all transcc does is call "target.builder.Make" so the entire make process can be customized by class extension.

The challenge I see is creating your own ParseApp() function, but all the tools are there to do this. I will be attempting this soon as well, but probably trying a different tack. good luck.

frank(Posted 2013) [#3]
Thanks! More people trying is better. Someone might succeed and then forces can be joined.