lua-users home
lua-l archive

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


On Wed, Jun 1, 2011 at 11:16 AM, marbux <marbux@gmail.com> wrote:
> 1. Assuming an app has integrated Lua and the standard libraries by
> embedding and exporting program APIs to Lua, is there any method
> whereby a script could load and use a module/library that is not
> complied with the embedded Lua and standard libraries?

It works just as you expect, _if_ the program exports the Lua symbols.
For instance, SciTE is a classic embedded Lua program, and one can
pull in external libraries using require () no problem.

steve d.