[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Question about embedded Lua and accessibility of libaries
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 1 Jun 2011 11:20:06 +0200
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.