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.