• You've embedded Lua.

    您已经嵌入了Lua。

    youdao

  • A chunk is any sequence of Lua statements.

    块可以是任何lua语句序列。

    youdao

  • Otherwise, you have a valid Lua interpreter state.

    否则,就有了一个有效的Lua解释器状态。

    youdao

  • Tables are the catch-all data structure in Lua.

    在 Lua 中,表是用来保存所有数据的结构。

    youdao

  • wxLua is a binding for the Lua programming language.

    wxLua是Lua编程语言的一种绑定。

    youdao

  • As of Lua 5.1, the garbage collector works incrementally.

    在Lua 5.1中,垃圾收集器是以增量方式工作的。

    youdao

  • The inverse -- calling a C function from Lua -- is similar.

    反之,在 Lua 中调用C函数也与之类似。

    youdao

  • All Lua applications must be embedded in a host application.

    所有的Lua应用程序必须要嵌入到宿主应用程序中。

    youdao

  • C functions can call Lua functions and vice versa, for example.

    举例来说,c函数可以调用lua函数,反之亦然。

    youdao

  • A chunk can be stored in a file or in a string in a Lua program.

    块可以保存到文件中,或者保存到Lua程序中的字符串中。

    youdao

  • There is no huge suite of autoconf tests; Lua sticks to the standard.

    Lua 无需进行大量的autoconf测试,因为它严格遵从标准。

    youdao

  • If an error occurs during execution, a Lua string is pushed on the stack.

    如果在执行时出现了错误,就向堆栈中压入一个lua字符串。

    youdao

  • Because functions are just values in Lua, this creates a callable function.

    由于函数在Lua中就是值,所以这实际上就是创建一个回调函数。

    youdao

  • The Lua interpreter USES a stack interface to communicate with calling code.

    Lua解释器使用一个栈接口来与调用代码通信。

    youdao

  • At the Lua-users wiki, browse a variety of pre-built, installable Lua binaries.

    在Lua -userswiki上,浏览很多预先构建的、可安装的lua二进制文件。

    youdao

  • As has been intimated, Lua scripts can extend the host language's own capabilities.

    由于Lua与宿主语言的关系非常密切,因此lua脚本可以对宿主语言的功能进行扩充。

    youdao

  • But the reciprocal is true as well: the host language can simultaneously extend Lua.

    但是这种融合是双赢的:宿主语言同时也可以对Lua进行扩充。

    youdao

  • The Lua language offers many other powerful features, and all of them are well documented.

    Lua语言提供了很多其他功能强大的特性,所有这些特性都有很好的文档进行介绍。

    youdao

  • After you've installed Lua on your system, give the stand-alone Lua interpreter a try.

    在系统上安装好Lua之后,我们可以首先来试用一下单独的Lua解释器。

    youdao

  • To explore tables, start the Lua interpreter and type the lines shown in bold in Listing 1.

    要对表进行浏览,请启动Lua解释器,并输入清单1中的黑体显示的代码。

    youdao

  • If you use Debian Linux, you can install Lua 5.0 quickly and easily by running this command.

    如果您使用的是DebianLinux,那么可以以超级用户的身份运行下面的命令来快速安装Lua 5.0。

    youdao

  • If your operating system supports dynamic loading, Lua can load and call functions on demand.

    如果您的操作系统支持动态加载,那么Lua可以根据需要来动态加载并调用函数。

    youdao

  • When a Lua program is executed, it is translated into bytecodes, and then executed in the VM.

    当执行一个Lua程序时,将其翻译成bytecodes,然后在VM中执行。

    youdao

  • Put the code into the Lua interpreter, and then type print (color [1], color [2], color [1]).

    将这段代码放到Lua解释器中,然后输入print (color [1],color [2],color [1])。

    youdao

  • Codify is built upon the Lua scripting language, a widely used scripting mechanism used in games.

    Codify由Lua脚本语言构建,Lua是一个广泛应用于游戏的脚本。

    youdao

  • Lua is distributed under the MIT license, and is completely free for any use, including commercial use.

    Lua是在MIT许可下发布的,可完全免费用于任何用途,包括商业用途。

    youdao

  • Moreover, any Lua value — including a function or another table — can serve as a dictionary element key.

    另外,任何lua值——包括函数或其他表——都可以用作字典元素的键值。

    youdao

  • Of course, because the userdata originates in c, there are no pre-defined operations for userdata in Lua.

    当然,由于用户数据源自于c,因此在Lua中也没有对用户数据预定义操作。

    youdao

  • If you want to start writing some top-level logic in Lua, though, it's very easy and efficient to do so.

    如果您想开始用Lua编写某种顶层的逻辑,那很容易,并且非常有效。

    youdao

  • The error handler, if one is provided, is the index on the stack of the Lua code to handle any errors that occur.

    如果提供错误处理程序,那么它应该是用于处理任何发生的错误的Lua代码在栈上的索引。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定