[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: upvals in Lua bytecode
- From: Tony Finch <dot@...>
- Date: Thu, 2 Jun 2011 11:39:41 +0100
Reuben Thomas <firstname.lastname@example.org> wrote:
> The very fact that no other common scripting language does this is a
> bad sign,
Yeah, no-one uses Perl.
> but in the case of Lua there's the explicit reason that it's
> meant to work for data description (Lua equivalent of JON), things
> server = "foo.bar.com"
> port = 25
> which break if every variable has to be declared.
Lua could perhaps switch on error-by-default mode the first time it sees a
f.anthony.n.finch <email@example.com> http://dotat.at/
Rockall, Malin, Hebrides: South 5 to 7, occasionally gale 8 at first in
Rockall and Malin, veering west or northwest 4 or 5, then backing southwest 5
or 6 later. Rough or very rough. Occasional rain. Moderate or good,