lua
美
英 
- 网络脚本语言;logical unit application;程序设计初步
例句
The Lua language -- like its community -- is robust, inventive, and ready to help.
Lua语言及其社区非常健壮,具有创新精神,随时准备好提供帮助。
In operating systems where static loading is a necessity, extending the Lua engine to call a C function requires you to rebuild Lua.
在必须使用静态加载的操作系统中,可以对Lua引擎进行扩充,此时调用C函数时需要重新编译Lua。
The function is called with a Lua state argument; once again, all interaction between C and Lua occurs through the stack of the Lua state.
该函数是借助一个Lua状态参数来调用的;同样,C与Lua之间的所有交互都是通过Lua状态栈发生的。
At the heart of the symbiotic relationship between Lua and its host language is a virtual stack.
Lua与宿主语言之间的这种共生关系的核心是宿主语言是一个虚拟堆栈。
Before you create yet another configuration file or resource format (and yet another parser to accompany it), try Lua.
在创建另外一个配置文件或资源格式(以及相应的处理程序)之前,请尝试一下Lua。
Actually, Lua goes to great lengths to make sure that implementation details do not surface to the user.
实际上,Lua诉诸于极大的长度来确保不会向用户显露实现细节。
As the Thai-Dai people settled in the rich river valley, they took over the control upon the Lua indigenous people.
傣泰人定居于肥沃的河谷低地以后,政治上控制了洛人原住民。
Codify is built upon the Lua scripting language, a widely used scripting mechanism used in games.
Codify由Lua脚本语言构建,Lua是一个广泛应用于游戏的脚本。
Implementing the core logic of a program in Lua, rather than in C, might well dramatically reduce development time.
用Lua而不是C来实现程序的核心逻辑可以大大减少开发时间。
Virtually all the C application program interface (API) for Lua operations operate through the stack.
实际上在Lua中使用的所有的C应用程序编程接口(API)都是通过堆栈来进行操作的。
When Lua needs to insert a new key into a table and the hash array is full, Lua does a rehash.
当需要向表中插入新键且散列数组是满的时候,Lua进行一次再散列。
But the reciprocal is true as well: The host language can simultaneously extend Lua.
但是这种融合是双赢的:宿主语言同时也可以对Lua进行扩充。
Note that every C language call to or about Lua takes a Lua state as an argument; there is no default state.
注意,每个对Lua或关于Lua的C语言调用都带有一个Lua状态作为一个参数;没有缺省的状态。
Indeed, tables are the only data structure in Lua.
实际上,表是Lua中惟一的数据结构。
Vale da Lua (Moon Valley) is a water eroded rock formation with natural swimming pools, placed on a river in the brazilian cerrado forest.
月亮谷位于巴西cerrado森林内的一条河边,是由水腐蚀岩层而形成的天然游泳池。
A metatable is a (normal) Lua table that maps standard operations to custom functions that you provide.
元表是一个(普通的)Lua表,它将标准操作映射成我们提供的函数。
It's quite possible to bounce back and forth between Lua and C, as the Lua interpreter is reentrant.
Lua与C之间可以来回嵌套,因为Lua解释器是可重入的(reentrant)。
Lua is probably the fastest of the three languages and usually uses the least amount of runtime memory.
Lua在这三种语言中是运行时速度最快而且占内在最少的。
It is easier to create objects and write code while logged on as a system administrator or database owner than it is using a LUA account.
以系统管理员或数据库所有者身份登录时,创建对象和编写代码要比使用LUA帐户登录更容易。
Moreover, any Lua value -- including a function or another table -- can serve as a dictionary element key.
另外,任何Lua值——包括函数或其他表——都可以用作字典元素的键值。
If your C program invokes the Lua interpreter on a script, which calls a C function, which then uses the Lua interpreter again, that's okay.
如果C程序在一个脚本上调用解释器,该脚本调用一个C函数,而这个C函数又再次使用Lua解释器,这是允许的。
All Lua applications must be embedded in a host application.
所有的Lua应用程序必须要嵌入到宿主应用程序中。
Usually, you do not need to know anything about how Lua implement tables to use them.
通常,你不需要为使用表而了解有关Lua如何实现它们的任何事。
Beware, however, that Lua can only shrink a table when rehashing it.
注意,无论如何,Lua只能在再散列时收缩表。
To explore tables, start the Lua interpreter and type the lines shown in bold in Listing 1.
要对表进行浏览,请启动Lua解释器,并输入清单1中的黑体显示的代码。
Lua would be Wicca - A pantheistic language that can easily be adapted for different cultures and locations.
LUA是威卡教---一种泛神论语言,很容易被不同文化和地域的人群所接受。
The error handler, if one is provided, is the index on the stack of the Lua code to handle any errors that occur.
如果提供错误处理程序,那么它应该是用于处理任何发生的错误的Lua代码在栈上的索引。
After you've installed Lua on your system, give the stand-alone Lua interpreter a try.
在系统上安装好Lua之后,我们可以首先来试用一下单独的Lua解释器。
If a Lua function returns n values, the first value is at location -n in the stack, and the last value is at position -1.
如果Lua函数返回n个值,那么第一个值的位置在堆栈的-n处,最后一个值在堆栈中的位置是-1。
Lua is distributed under the MIT license, and is completely free for any use, including commercial use.
Lua是在MIT许可下发布的,可完全免费用于任何用途,包括商业用途。
A thread is a co-routine created by calling the built-in function coroutine. create(f), where f is a Lua function.
线程是通过调用内嵌函数coroutine.create(f)创建的一个协同例程(co-routine),其中f是一个Lua函数。
In the Thai-Dai chronicle, it is believed that the Lua people are the indigenous people in the Kingdom of Thailand in Southeast Asia.
传统的傣泰编年史认为洛人是东南亚大陆傣泰王国的原住民。
A chunk can be stored in a file or in a string in a Lua program.
块可以保存到文件中,或者保存到Lua程序中的字符串中。
If you want to start writing some top-level logic in Lua, though, it's very easy and efficient to do so.
如果您想开始用Lua编写某种顶层的逻辑,那很容易,并且非常有效。
Balancing the need for high-performance code and high-level programming is the purview of Lua, an embeddable scripting language.
对高性能代码和高级编程的需要进行平衡是Lua(一种可嵌入式脚本语言)要解决的问题。
If your operating system supports dynamic loading, Lua can load and call functions on demand.
如果您的操作系统支持动态加载,那么Lua可以根据需要来动态加载并调用函数。
The third, and most flexible, is to mix and match these approaches, using Lua to script some actions, and code in C to manage others.
第三种方式,也是最灵活的方式,是混合上述两种方式,使用Lua脚本编写一些动作,而用C代码管理其他部分。
The implementation of tables in Lua involves some clever algorithms.
Lua中表的实现涉及一些聪明的算法。
The second is to write a program primarily in C, then use embedded Lua as a way to store and report data and configuration.
第二种方法是主要用C编写一个程序,然后使用嵌入的Lua来存储和报告数据和配置。
The Lua interpreter uses a stack interface to communicate with calling code.
Lua解释器使用一个栈接口来与调用代码通信。