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

17 lines
333 B
Markdown
Raw 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.

# luajit
> Lua编程语言的即时编译器JIT
> 另见:`lua`。
> 更多信息:<https://luajit.org/luajit.html>。
- 启动一个交互式Lua shell
`luajit`
- 执行一个Lua脚本
`luajit {{path/to/script.lua}} {{--optional-argument}}`
- 执行一个Lua表达式
`luajit -e '{{print("Hello World")}}'`