[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] lglob (was: Convenient undefined variable checking script)
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 31 Jan 2013 09:07:44 +0200
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.