In the mean time I'm joining a YoYo Games GMC Jam for the first time and I made a bytecode interpreter for GM:Studio that can also execute any GameMaker function. I made it work by automatically making wrapper scripts for every GM function like _GMfunc_draw_sprite(sprite,img,x,y). 
This sounds fairly interesting. I'd like to see how it turns out!
