Monkey compilation

Monkey Forums/Monkey Programming/Monkey compilation

slenkar(Posted 2011) [#1]
Would it be possible to not compile unchanged monkey code each time a program is run?

e.g. I have a GUI system or other code that is hardly ever going to change,
could it be compiled to whatever language im targetting and included in the generated main file?

e.g. guisys.monkey becomes guisys.java
then in the main.java file
'import guisys.java'

In C++ a generic makefile could be used
guisys.cpp is compiled to guisys.obj and the makefile takes care of everything


In javascript it would save a tiny bit of time not turning guisys.monkey into guisys.js every time