• Lua allows multiple assignments, and expressions are evaluated first and are then assigned. For example, the statements

    Lua允许使用多种赋值语句,可以先对表达式进行求值,然后再进行赋值。

    youdao

  • The luaL_loadbuffer() function compiles a script into Lua code; if there is a syntax error, this is where the failure is observed.

    luaL_loadbuffer()函数将一个脚本编译成Lua代码。如果有语法错误,从这里可以观察到失败。

    youdao

  • You can download lua as source code from lua.org, and you can find a variety of pre-built binaries at the Lua-users wiki (see Resources for links).

    您可以从lua.org上下载lua的源代码,在lua - userswiki(链接请参见参考资料)上可以找到预先编译好的二进制文件。

    youdao

  • You've embedded Lua.

    您已经嵌入了Lua。

    youdao

  • A chunk is any sequence of Lua statements.

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

    youdao

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

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

    youdao

  • Otherwise, you have a valid Lua interpreter state.

    否则,就有了一个有效的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

  • The implementation of tables in Lua involves some clever algorithms.

    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

  • That is why currently Lua creates empty tables with no pre-allocated slots.

    这就是为什么现在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

  • Lua does not export commands to access the system time or other external state.

    没有导出命令来访问系统时间或其他外部状态。

    youdao

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

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

    youdao

  • Shirley O. Lua teaches literature at De la Salle University in Manila, Philippines.

    陈舒励是菲律宾马尼拉拉刹大学文学教授。

    youdao

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

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

    youdao

  • Usually, you do not need to know anything about how Lua implement tables to use them.

    通常,你不需要为使用表而了解有关Lua如何实现它们的任何事。

    youdao

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

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

    youdao

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

    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

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

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

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