[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Suggestion for Lua 5.3.0 -- require search paths
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 6 Apr 2014 09:46:14 +0200
On Sat, Apr 5, 2014 at 11:16 PM, Paul Merrell <marbux@gmail.com> wrote:
> suggest is possible. But it might better be done as part of a module,
> in aid of keeping core Lua slim and trim. It's functionality not
> everyone will need.
Penlight's pl.app module has a require_here(), which adds the main
script's path to package.path.
For instance, I use it with ldoc so that ldoc.lua can load the rest of
the app from the ldoc folder in the same directory.
- References:
- Running multiple threads in a lua state, Milind Gupta
- Re: Running multiple threads in a lua state, Javier Guerra Giraldez
- Re: Running multiple threads in a lua state, Coroutines
- Re: Running multiple threads in a lua state, Luiz Henrique de Figueiredo
- Re: Running multiple threads in a lua state, Coroutines
- Re: Running multiple threads in a lua state, Sean Conner
- Re: Running multiple threads in a lua state, Coroutines
- Re: Running multiple threads in a lua state, Sean Conner
- Re: Running multiple threads in a lua state, Rena
- Re: Running multiple threads in a lua state, Coroutines
- Suggestion for Lua 5.3.0 -- require search paths, tonyp
- Re: Suggestion for Lua 5.3.0 -- require search paths, Paul Merrell