[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: upvals in Lua bytecode
- From: HyperHacker <hyperhacker@...>
- Date: Thu, 2 Jun 2011 15:16:15 -0600
On Jun 2, 2011 5:34 AM, "Pierre Chapuis" <catwell@archlinux.us> wrote:
>
> On Thu, 2 Jun 2011 11:39:41 +0100, Tony Finch wrote:
>
>> Lua could perhaps switch on error-by-default mode the first time it sees a
>> "global" declaration.
>
>
> Maybe it could be optional but still more explicit,
> with something like Perl Strictures?
>
> --
> Pierre 'catwell' Chapuis
>
Say by writing something like:
require('strict')
at the top of your source? :) (strict is a built-in standard library? I don't have access to a computer to check right now...)
--
Sent from my toaster.
- References:
- upvals in Lua bytecode, Xingzhi Pan
- Re: upvals in Lua bytecode, François Perrad
- Re: upvals in Lua bytecode, Xingzhi Pan
- Re: upvals in Lua bytecode, Geoff Leyland
- Re: upvals in Lua bytecode, Reuben Thomas
- Re: upvals in Lua bytecode, Miles Bader
- Re: upvals in Lua bytecode, Reuben Thomas
- Re: upvals in Lua bytecode, Miles Bader
- Re: upvals in Lua bytecode, Reuben Thomas
- Re: upvals in Lua bytecode, Tony Finch
- Re: upvals in Lua bytecode, Pierre Chapuis