lua-users home
lua-l archive

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


From: "Björn De Meyer" <bjorn.demeyer@pandora.be>
> Well, my idea is to have a tree-layer system.
> In the core layer, there is the base Lua interpreter.
> We only add to that one library, let's call it the
> LuaCheia library. This LuaCheia library is the second layer.
> It decides at runtime which modules are available,
> and loads dynamically them as needed. The third layer
> are the modules, which are (automatically generated?)
> wrappers that take care of the C/C++ to Lua interfacing.
> These modules can either extend Lua bythemselves, or further
> load dynamic libraries and extend them. How does that sound?

I think it sounds good!

So this second layer might actually be a script layer?
If the second layer was resonably easy to customize, one could build custom
distributions out of the core binaries and the modules, bypassing all the
'sugar' of deopendency checking etc. if one so wishes.

-Martin