I am making a game that I also want to port to many other platforms, and for this purpose I would like to write some of the game logic in a scripting language to ease porting.
I understand Apple are imposing restrictions on interpreted code though, and I wonder if there exists any safe scripting alternative for iOs4 and earlier?
I am thinking of something like writing the scripts as Javascript, pass them to an invisible UIwebView with parameters for running and then read back the results as a string that can be parsed. Is it feasible, and "Apple policy safe"? Pretty "hackish" though, but if someone did this before, I'd like to see how it was done...
If not, are there other alternatives?