Commit Graph

3 Commits

Author SHA1 Message Date
pedro
293cae4b06 Use local variables as to not leak them to user context 2005-12-10 23:02:05 +00:00
pedro
4b5c32f20d prepare for luacompat, don't leak variables to the user environment 2005-04-19 14:31:27 +00:00
pedro
e18b21c32d introduce a simple package management facility for lua, by permitting
each package to have an initialization file, and keeping a table of
'<package> = <file>' entries in a known place. these files are loaded
upon lua's activation, and should normally be small, quick pieces of
code responsible for preparing the environment (luapath, cpath) for
the packages they represent.

also, make it possible for every user to have her/his own lua
initialization routines under ~/.lua/init.lua, so that the system-wide
mechanism described above can be replicated to user-specific cases.

prodding, all sorts of ports tutoring and ok jolan@
2004-12-16 13:04:07 +00:00