lua-users home
lua-l archive

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


I agre with you on modularity.
One of my goals is to have a distribution that can be as small and specialized or as full and complete as I choose. One example would be using the same core for GUI apps on the one side and 'faceless' server apps on the other, both using the same Databse, XML support etc. but being varied in size etc.

A dependancy checking system woul certainly be very nice for this. (Good documentation of the various modules is a big step in that direction)

On the other hand I would very strongly suggest that we try and keep the core as simple as possible as too not hinder this prolect by bogging it down with details. We need to try and find a good compromize between flexibility and simolicity.

-Martin

Gunnar Zötl wrote:

I'm following this lua-cheia thing with quite a bit of interest. I am
not actually interested in something like that myself, but nonetheless
it is an interesting project.

I would like to suggest an entirely modular solution. Not just
everything in modules, but also a modular distribution, maybe similar
to the CPAN. Thus there would be a core distribution with some general
interest modules like for example networking, and the other modules
could be added to the distribution, maybe even with the aid of a
little program. Plus, for such a scheme, you would also need some sort
of dependency management between the modules.

This way you would also get around the license problem. The core
lua-cheia might be distributed under the lua license or something
similar. The additional modules can be under whatever license the
author chooses, without compromising lua-cheia.

One other thing I wanted to suggest is to use a mechanism for the
dynamic loadable exensions that can also be used with the standard lua
distribution. Or, in other words, the interpreter should not need to
be patched more than adding another library to it in order to use
dynamic loadable extensions. I don't know about GluaX, but loadlib
seems to fit that bill.

just my 3c,

Gunnar