lua-users home
lua-l archive

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


Hi,

So I was wondering if somebody can explain to me how I can work with
the new 5.1 system to load my zipped/archived scripts, in a way that
doesn't require me to modify stock Lua or modify all my scripts. (I
prefer my changes to be in the C part of my program).

The canonic way to do this is to setup a new loader. If you
take a look at the code in compat-5.1.lua, which is easier
to read than loadlib.c, it should be easy to figure out what
to do.

Regards,
Diego.