References to variables within an expression can then be statically bound to a particular slot in either the local stack frame or the list of global variables.
然后表达式中对变量的引用可以静态绑定到本地堆栈框架或一列全局变量的特定槽上。
Generally, they start off with a "base" set of data that is known to be available to the program — stack data, global variables, and registers.
通常,它们以程序所知的可用的一组“基本”数据——栈数据、全局变量、寄存器——作为出发点。
The lua_setglobal function then assigns the top value on the stack to a named global variable.
然后,lua_setglobal函数将栈顶的值赋给一个有名称的全局变量。
应用推荐