lua-users home
lua-l archive

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


On Mar 02, 2004 at 09:21 -0500, Thatcher Ulrich wrote:
> On Mar 02, 2004 at 12:10 +0200, Serge Semashko wrote:
> > 
> > It would be much better to make a decision about standard lua5 ABI and 
> > post it as a new LTN. That should explain how dlls (and .so files) are 
> > named, which functions they export and in which order they should be 
> > called to load a new binary module.
> > 
> > Something like http://lua-users.org/wiki/LuaBinaryModules but for lua5
> > By the way, luacheia team has some experience in making support for 
> > different binary modules with lua, so they can make initial version of 
> > this document
> 
> That's a good idea.  I'll try to cook up a draft.

I added a page to the LuaCheia manual that talks about some linking
details.  It doesn't contain everything you suggested, but at least
it's a start.  This page is LuaCheia-specific, but hopefully is
generic enough to be helpful.

http://luacheia.lua-users.org/doc/ABI.html

In the interest of compatibility I think the LuaCheia project would be
willing to adjust naming conventions etc if necessary, and compatible
with project goals.  If the Lua community reaches a consensus around
these issues, then this could be turned into a LTN.

-- 
Thatcher Ulrich
http://tulrich.com