lua-users home
lua-l archive

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


On Wed, Jan 30, 2013 at 10:16 PM, Petite Abeille
<petite.abeille@gmail.com> wrote:
> Yes, this is all for 5.2. And yes, _ENV is special in 5.2 :)

Very special!  In fact, I am going to ignore it for a while, except
perhaps as an idiom for creating modules. I'm not seeing much use of
it in the wild, so the focus is on 'modern' Lua which is the 5.1/5.2
intersection.

Your first TestGlobal.lua is now working consistently, due to improved
handling of SETTABUP.

> The  Berezina [2] of Computer Science: Static Analysis Of Dynamic Languages

Hah, indeed!  Since I have no imperialistic urges, I'll concentrate on
reliability.  I had this bright idea to analyze Lua OOP-style code by
making 'self' a reference alias to the owning table, but it would only
work under certain conditions.  There are too many ways to peel that
avocado in Lua...

steve d.