lua-users home
lua-l archive

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


On Wed, Apr 27, 2011 at 1:32 PM, Emmanuel Oga <emmanueloga@gmail.com> wrote:
> It talks about python but I'm wondering if it applies also for lua.
>
> After reading it I'm thinking the best option will be to write a
> loadable module that could be used by any lua interpreter

absolutely.

not only it's more 'Lua-like', but it allows your module to be used on
any Lua project.  embedding Lua means that any use has to be roughly
on the terms you've foreseen.  a module is _far_ more flexible, others
will use it in ways you couldn't imagine before.

-- 
Javier