Remix.run Logo
rhelz a day ago

Why did you find this interesting?

kevin_thibedeau a day ago | parent | next [-]

It indicates paving the path for local scoping in a future release where Lua 5 code is upgraded with global declarations to keep it working.

NuclearPM a day ago | parent [-]

We have had local scoping for decades.

embedding-shape a day ago | parent | prev [-]

For me it's interesting because global variable declarations haven't been needed before, so why now? Also, I'm not sure `global` was reserved before, but now it seems to be.

TheCycoONE 10 hours ago | parent [-]

lua does not preserve compatibility between minor versions. As such they don't need to reserve words for future use.