资 源 简 介
Description
HippoScript is a script engine library based on the C#VB.netJScript.net language. Using HippoScript , developers can provide fully scriptable applications, execute .NET code, or create external configuration logic, using the most used script language.HippoScript is used in another open source project - GReporting
# Featured #
* 表达式计算。
* 动态字段声明,动态对象植入。
* Using语句,添加程序集引用。
* 脚本批量注入分析。
* 动、静态计算。
* 计算回写。
* 引擎克隆。
# Requirements #
.NET Framework 2.0
# Example #
Engine engine = new CSharpEngine(); showResult("Engine可实现Evaluator的简单运算:"); showResult("1 + 2.0 =" + engine.Eval("1 +2.0").ToString()); showResult("Engine示例——载入对象:engine.AddObject("data", 89.9)"); engine.AddObject("data", 89.9); engine.AddFieldDeclar("yahoo", "System.String"); engine.AddFieldDeclar("year", "System.Int32"); showResult(&qu