lua-users home
lua-l archive

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



On Mar 24, 2014, at 10:38 PM, Coroutines <coroutines@gmail.com> wrote:


meta:no
 local t = whatever.index
 t()
meta:yes


Interesting idea, but the devil is in the details. As Dirk said, is this statically or dynamically scoped? Can you “push” the current setting and then “pop” it later (where?) … without this an “inner” on/off would cause odd effects outside of this. What about  libraries that got called while meta was off?

—Tim