适用于.NET的Javascript Interpreter [英] Javascript Interpreter for .NET

查看:76
本文介绍了适用于.NET的Javascript Interpreter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个场景需要在.NET应用程序中运行Javascript解释器。这将在Windows Phone 7上运行,因此它需要符合Compact Framework标准,因为它可能不会预先打包为Windows Phone源提供帮助。

I've got a scenario where I need to run a Javascript interpreter in a .NET application. This is going to be running on Windows Phone 7, so it needs to be Compact Framework-compliant and because it probably won't be pre-packaged for Windows Phone source could help there.

此外,许可可能是一个问题。我们查看了使用MIT许可证下的Jint,但它使用的是Antlr,它是BSD许可证(据我所知,Jint因不重新分发Antlr版权和条件而处于违规状态)。还有其他选择吗?

Also the licensing can be an issue. We looked at using Jint which is under an MIT license, but it uses Antlr, which is under a BSD license (as I understand it Jint is in non-compliance for not redistributing the Antlr copyright and conditions). Any other alternatives out there?

推荐答案

自从提出这个问题以来,侏罗纪已被释放。这是一个.NET Javascript解释器,可以在完整的CLR和电话上工作(或者他们声称)。

Since this question was asked, Jurassic has been released. This is a .NET Javascript interpreter that works on the full CLR as well as the phone (or so they claim).

我还没有开始迁移到它,所以我不知道它是否有效,但这里有任何感兴趣的人。

I haven't started to migrate to it yet, so I don't know if it works, but here it is for any of you that are interested.

这篇关于适用于.NET的Javascript Interpreter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆