News for hackers. Stuff that matters.
Re:The Novelties of Lua 5.2 Roberto Ierusalimschy (pdf slide... by carterschonwald on Saturday December 31, 2011 @02:34PM (#3411618)
ok, so the semantics for lua goto's is to enter at the start of smallest enclosing block that has no free variables in the current environment? Or to statically reject code that tries to do so? That doesn't sound quite accurate, unless you're saying that lua does some static analysis before execution, which I was not aware of.
Re:The Novelties of Lua 5.2 Roberto Ierusalimschy (pdf slide... by Dylan16807 on Saturday December 31, 2011 @02:43PM (#3411642)
Lua compiles to a simple bytecode. It makes sure gotos are valid during this compilation.

It jumps directly to the label, and can't skip forward over the declarations of variables that are in scope at the label.

Re:The Novelties of Lua 5.2 Roberto Ierusalimschy (pdf slide... by carterschonwald on Sunday January 01, 2012 @10:07PM (#3414611)
cool. Thanks for the info. Where are this and other features nicely documented?
Re:The Novelties of Lua 5.2 Roberto Ierusalimschy (pdf slide... by Dylan16807 on Monday January 02, 2012 @01:37PM (#3416817)
I would suggest reading The Implementation of Lua 5.0

http://www.lua.org/doc/jucs05.pdf