问题
I just wanted to know if Jint (Javascript Interpreter for .NET) works on MonoTouch. I have a project on MonoDevelop where I use the Jint library and I just wanted to figure out if I can use it with MonoTouch. Is there any tutorial that I can look into on how to use it?
回答1:
It looks like it is possible, but with some modifications to Jint.
This describes what other people have had to do to make it work.
回答2:
You will have to replace all the calls to reflection.emit with pure reflection in the file ProxyHelper.cs, if you want to keep the interaction between the C# and JavaScript world.
If you do not need the interaction, you could just comment the internal of the methods.
Regular expression cannot be compiled.
来源:https://stackoverflow.com/questions/9700439/jint-with-monotouch