[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Extending Require
- From: Luís Santos <lsantos@...>
- Date: Wed, 09 May 2007 11:02:53 -0300
Hello, People
I´m new to the list, but I have worked with Lua for about an Year now. I
am using Lua in the building of an Application Development Framework for
my company.
I am trying to extend the new 'modules' feature by allowing the
'require' function to load encrypted lua files. I haven´t found any
clues on how to help the built-in module loading function to load my
scripts by adding some sort of generic loader function or something of
the sort, so I have decided to patch the source code to give it this
capacity. However, I have felt a little unconfortable in doing so in a
relatively new feature, in fear that I might be updated several times in
the near future, giving me a little headache.
I would like to hear some opinions on this matter. Have I overlooked
something in the modules documentation?
Thanks in advance,
Luís Santos