lua-users home
lua-l archive

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


I've been asked to simplify distribution of some of my software, which
relies on a library of a couple of hundred Lua modules.  I'm hoping to
distribute code by bundling each key script into a single Lua file,
which will include the source code for every module that would
otherwise be (transitively) loaded by `require`.  I got the idea from
the `ilump` program written in 1994 by Gregg Townsend and distributed
with the Icon programming language:

  #     ilump copies one or more Icon source files, incorporating recursively
  #  the source code for files named by "link" directives.  This produces a
  #  standalone source program in one file, which is useful with certain
  #  profiling and visualization tools.

I'm preparing to write something similar for Lua, but I'd rather not
reinvent any wheels.  Is there code out there that I should be using?


Norman Ramsey