lua-users home
lua-l archive

Re: [ANN] Lua 5.4.0 (work1) now available

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


On 14 Mar 2018, at 20.59, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> The proposed syntax would allow programs written for 5.4 to run on 5.3
> without changes 
Is this really so important? For example, you can’t run programs with ”goto” on earlier versions of Lua that didn’t have it.
Since you’re already adding a new keyword (disallowing its use as a global var name which can break some programs), adding a new syntax for it shouldn’t hurt much more.
The fact that ”undef” looks like a value when it’s not seems to be very confusing to many people...
Petri

AltStyle によって変換されたページ (->オリジナル) /