lua-users home
lua-l archive

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


On Tue, Sep 21, 2010 at 2:44 AM, Jonathan Castello <twisolar@gmail.com> wrote:
> As far as Lua goes, I prefer the greedy approach Lua 5.2 introduces
> for the one case in 5.1 where a newline matters. Unfortunately, my
> environmental-indexing suggestion goes completely against this
> approach, since something like this would look sane to the developer,
> yet Lua would understand it differently:

It's late and I forgot to mention this: In your example, the second
interpretation - one statement followed by another - is also logical
and I would prefer it in many instances too. It's just the fine lines
a language must walk, I suppose...

~Jonathan