IronRuby、IronPython 还是其他?
我希望构建一组存储在表中的动态脚本,这些脚本将充当针对我的 EF 模型的业务规则。过去,在考虑我的选择时,我倾向于使用 IronRuby 或 IronPython。令我非常沮丧的是,我刚刚读到两人都死了! (http://www.ironshay.com/post/IronRuby-and-IronPython-are-Officially-Handed-Over-to-the-Community-IronRuby-Tools-for -VS-is-Out-and-More!.aspx) 我现在应该使用哪种与 .NET 兼容且快速的脚本语言?
I am looking to build a set of dynamic scripts, stored in a table, that will act as business rules against my EF model. In the past, I was inclined to use IronRuby or IronPython when thinking about my options. Much to my dismay, I just read that both are dead! (http://www.ironshay.com/post/IronRuby-and-IronPython-are-Officially-Handed-Over-to-the-Community-IronRuby-Tools-for-VS-is-Out-and-More!.aspx) What scripting language, compatible and fast with .NET, should I use now?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不相信 IronRuby 或 IronPython 已经死了,实际上......他们最近有效地改变了所有权,但他们仍在处理。
无论如何,您可能还想看看 Boo。
I don't believe either IronRuby or IronPython is dead, actually... they've recently changed ownership effectively, but they're still being worked on.
Anyway, you might also want to look at Boo.
您仍然可以使用 C# 来实现此目的。您可以使用表达式树来构建。是的,它不是很直观,但它允许您动态构建表达式并执行它。我最近刚刚使用表达式树来执行存储在数据库中的业务规则,并且它有效。
You still can use C# for this. You can use Expression Trees to build. Yes it is not very intuitive, but it allows you to build dynamically expression and execute it. I just recently used Expression Trees to execute business rules stored in database and it works.