- 授权协议: GPL
- 开发语言: C# SHELL
- 操作系统: Windows
- 软件首页: http://nlua.org/
- 软件文档: http://nlua.org/
软件介绍
NLua 是 Lua 和 .NET 两个领域的连接枢纽。这个项目是由 LuaInterface (from Fábio Mascarenhas/Craig Presti) 改写的。
示例:
string script = @"
local s = Scriptable (""My String Parameter"")
s:DoSomething ()
print (s.Param1)
local ret = s:SumOfLengths (""Name"", 10);
print (tostring(ret))
Scriptable.Print(""Hello NLua"")
s.Param3 = 0.5;
local p2 = tostring(s.Param3)
print (p2)
";
using (Lua lua = new Lua ()) {
lua.LoadCLRPackage ();
lua.DoString (@" import ('NLuaSample') ");
lua ["gValue"] = "This is a global value"; // You can set a global value.
var returns = lua.DoString (script);
Console.WriteLine (returns);
}
Web Standards Creativity
Andy Budd、Dan Rubin、Jeff Croft、Cameron Adams、Ethan Marcotte、Andy Clarke、Ian Lloyd、Mark Boulton、Rob Weychert、Simon Collison、Derek Featherstone / friends of ED / March 19, 2007 / $49.99
Book Description * Be inspired by 10 web design lessons from 10 of the world's best web designers * Get creative with cutting-edge XHTML, CSS, and DOM scripting techniques * Learn breathtakin......一起来看看 《Web Standards Creativity》 这本书的介绍吧!
