4 ms·
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 decl
by Dylan16807 15y ago
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.
- carterschonwald 15y agocool. Thanks for the info. Where are this and other features nicely documented?
- Dylan16807 15y agoI would suggest reading The Implementation of Lua 5.0 http://www.lua.org/doc/jucs05.pdf http://www.lua.org/doc/jucs05.pdf