lua-users home
lua-l archive

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

On Thu, Feb 1, 2018, at 09:22, Dirk Laurie wrote:

> For this idea to work with "lua -l" , we also need the patch
> to preload libraries with customized global names
> so that
>    lua -l paths=torch.paths
> is possible.

Is there a major advantage compared to this, which works today?

    lua -e "paths=require'torch.paths'"

Pierre Chapuis