Using AluminumLua I have a lua file where I'm setting a function to a variable like below:
local Start = function() print("Inside Start!") end
In .NET I try to load this file but it just hangs on the parse method and never comes back from it.
class Program
{
static void Main(string[] args)
{
var context = new LuaContext();
context.AddBasicLibrary();
context.AddIoLibrary();
var parser = new LuaParser(context, "test.lua");
parser.Parse();
}
}
Any ideas why it's hanging?