.net – Do any .NET DLLs exist that implement luac’s functionality

dlllualuacnet

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 implements luac in such a way that it outputs standard lua bytecode (not a lua library that compiles to the CLR). Compiling the lua c source code didn't work, as when i went to include a reference to the dll in a c# project, visual studio complained that it wasnt a valid assembly. My searches so far haven't found anything.

Best Answer

all the code for luac is distributed with lua... would be trivial to make it a DLL.

Related Topic