private static void TestFile(string fileName) { var ctx = new AluminumLua.LuaContext(); ctx.AddBasicLibrary(); ctx.AddIoLibrary(); var alua = new AluminumLua.LuaParser(ctx, fileName); alua.Parse(); }
static void Main(string[] args) { var ctx = new AluminumLua.LuaContext(); ctx.AddBasicLibrary(); ctx.AddIoLibrary(); var alua = new AluminumLua.LuaParser(ctx, "test.lua"); alua.Parse(); Console.ReadKey(); }