[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Globals (more ruminations)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 16 Jul 2010 09:16:09 -0300
> On Jul 15, 2010, at 9:04 AM, Roberto Ierusalimschy wrote:
>
> [...]
> I would suggest the following tweaks:
>
> * "global a" as meaning that "a" should be interpreted as "_ENV.a"
> should be with respect to a specific definition of "_ENV". You may
> have already meant that, but I don't think you say so above. Which
> _ENV? My feeling is that it probably should tie to the chunk level
> _ENV, but I could be persuaded otherwise.
'"a" is translated to "_ENV.a"' means a syntactical translation.
So, the _ENV is the one visible at that point. (As stated in another
place, 'global' would only control the sugar 'a' -> '_ENV.a'; if
enabled, the sugar is the same.)
> All that said, I'm not sure this buys enough to be worth the trouble.
We too.
-- Roberto
- References:
- Re: Globals (more ruminations), Mark Hamburg
- Re: Globals (more ruminations), Roberto Ierusalimschy
- Re: Globals (more ruminations), Geoff Leyland
- Re: Globals (more ruminations), Alexander Gladysh
- Re: Globals (more ruminations), Roberto Ierusalimschy
- Re: Globals (more ruminations), Juri Munkki
- Re: Globals (more ruminations), Roberto Ierusalimschy
- Re: Globals (more ruminations), Patrick Donnelly
- Re: Globals (more ruminations), Roberto Ierusalimschy
- Re: Globals (more ruminations), Mark Hamburg