寻找eval函数中的任何.NET语言 [英] Looking for eval function in any .NET language
本文介绍了寻找eval函数中的任何.NET语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
做任何.NET / CLR语言支持 评估
功能,还允许调用到标准的.NET code(例如调用到C#code)?我知道,无论是F#也支持C#评估
。是否还有其他选择吗?
Do any .NET/CLR languages support an eval
function and also allow calling into standard .NET code (e.g. calling into C# code)? I know that neither F# nor C# support eval
. Are there any other options?
我理想的寻找与.NET 3.5(所以我觉得这排除了Clojure的-CLR),但我很感兴趣兼容的解决方案,在任何/所有选项。
I am ideally looking for a solution compatible with .NET 3.5 (so I think this rules out Clojure-CLR), but I'm interested in any/all options.
推荐答案
JScript.NET都有一个评估
功能,参见<一href="http://stackoverflow.com/questions/4597767/evaluating-ex$p$pssion-at-runtime/4598136#4598136">this回答
JScript.NET has an eval
function, see this answer
这篇关于寻找eval函数中的任何.NET语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文