JUCS - Journal of Universal Computer Science 11(7): 1159-1176, doi: 10.3217/jucs-011-07-1159
The Implementation of Lua 5.0
expand article infoRoberto Ierusalimschy, Luiz Henrique Henrique de Figueiredo§, Waldemar Celes|
‡ PUC-Rio, Rio de Janeiro, Brazil§ The Institute of Pure and Applied Mathematics (IMPA), Rio de Janeiro, Brazil| Department of Computer Science, PUC-Rio, Brazil
Open Access
Abstract
We discuss the main novelties of the implementation of Lua 5.0: its register-based virtual machine, the new algorithm for optimizing tables used as arrays, the implementation of closures, and the addition of coroutines.
Keywords
compilers, virtual machines, hash tables, closures, coroutines