lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Tue, Dec 30, 2008 at 8:26 PM, Ignacio Burgueño
<> wrote:
> Hi. I'd like to use some .net assemblies from Lua and I thought that
> LuaInterface is what I need, so I downloaded version 2.0.1.
> How is it supposed to be used? I need to launch it from an unmodified Lua
> interpreter, so I'd need to do something like:
> require "luainterface"
> ...
> But the dll does not export any symbols.
> Is it possible to call CLR code from a vanilla Lua interpreter?

I don't think so. At least not with quite a bit of elbow grease.

LuaInterface runs Lua from inside .NET! (Same holds for LuaJava, where
Lua is invoked from Java.)

Once you have a plain old C Lua state running, it is not easy to
attach a .NET VM. It's much easier to do that the other way round.
This isn't Lua's fault, Lua is designed to be easy to embed; but .NET