|
Project Information
Links
|
DescriptionHippoScript is a script engine library based on the C#\VB.net\JScript.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
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("data="+engine.Eval("data").ToString());CaseGReporting |