mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
18 lines
345 B
Markdown
18 lines
345 B
Markdown
![]() |
# luajit
|
||
|
|
||
|
> A just-in-time compiler (JIT) for the Lua programming language.
|
||
|
> See also: `lua`.
|
||
|
> More information: <https://luajit.org/luajit.html>.
|
||
|
|
||
|
- Start an interactive Lua shell:
|
||
|
|
||
|
`luajit`
|
||
|
|
||
|
- Execute a Lua script:
|
||
|
|
||
|
`luajit {{path/to/script.lua}} {{--optional-argument}}`
|
||
|
|
||
|
- Execute a Lua expression:
|
||
|
|
||
|
`luajit -e '{{print("Hello World")}}'`
|