lua-users home
lua-l archive

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


On Monday 07 June 2004 12:42, diego@tecgraf.puc-rio.br wrote:
> The interfaces are similar, but I am not sure requirelib and require
> should be unified. Maybe it's good to know when a library is C, and when
> it's Lua...

I think I like the LuaCheia method: all modules are fronted by Lua scripts, 
which may either be the module itself (for pure Lua modules), be a stub which 
loads a C library using some method, or be a mix of C and Lua. All modules 
are then consistently loaded using cheia.load().

-- Jamie Webb