Files
tldr/pages.zh/common/lua.md

16 lines
298 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# lua
> 一种强大且轻量的可嵌入编程语言。
> 更多信息:<https://www.lua.org>。
- 启动一个交互式 Lua shell
`lua`
- 执行一个 Lua 脚本:
`lua {{path/to/script.lua}} {{--optional-argument}}`
- 执行一个 Lua 表达式:
`lua -e '{{print("Hello World")}}'`