Jint with monotouch

大城市里の小女人 提交于 2019-12-12 22:35:09

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!