lua-users home
lua-l archive

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

{ snip}
No need to change the language.  Formulate conventions for the
directory structure of the library containing the modules, write a
program (by all means call it `setup.lua`) that generates a module
loader for each subtree, and the difference will be as insignificant
as this:


import library.module as mylib


mylib = (require "library").module


That would be gold! Would there be a performance penalty? Could this also co-exist with the 5.2 mechanisms?

 If so why not? It would be so much nicer for non-programmers to work with.