luac

Do any .NET DLLs exist that implement luac's functionality?

Does anyone know of any DLLs (preferably .net) that encapsulate the lua 5.1 compiler? I'm working on a .net project where part of it needs to compile lua scripts, and i would rather have a DLL that i could send script code to instead of sending the script to a temporary file and running luac.exe. Edit: I'd need a .NET library that impl...

Lua compiled scripts on Mac OS X - Intel vs PPC

Been using Lua 5.0 in a Mac OS X universal binary app for some years. Lua scripts are compiled using luac and the compiled scripts are bundled with the app. They have worked properly in Tiger and Leopard, Intel or PPC. To avoid library problems at the time, I simply added the Lua src tree to my Xcode project and compiled as is, with no ...

Lua crashes when programs are compiled

I'm working on a very, very simple Lua program, trying to teach myself the language. Here's the three line program: file = io.open("hello.txt", "w") file:write("Hello, World.\n") io.close(file) When I use the program with Lua as a script, it works fine. When I compile the program, it works. However, when I run the compiled program,...

Lua error did not pass boolean

This works... if ( tileType == "water" or ( otherObj and otherObj:GetType() == "IceBlock" )) then self:SetNoClip( true ) else self:SetNoClip( false ) end - These don't... self:SetNoClip( tileType == "water" or ( otherObj and otherObj:GetType() == "IceBlock" )) //---------------------------------------------------------- l...

Questions about compiling Lua files.

Hi, I want to compile my lua files to LuaC (myfile.luac). I'm using the Scite for compiling Lua. I haven't started until now, I heard, that I cannot compile my lua files to a 64 bit binary luaC file on a 32 bit system. So how can I compile lua to 32 bit and 64 bit luaC on a 32 bit system, windows xp? Btw, are there any tipps for using L...

Can 32bit Lua bytecode work on a 64bit system?

Can a compiled Lua file (32bit *.luac file) work on a 64 Bit system? ...