mirror of https://github.com/CrimsonTome/tldr.git
luajit: add page, lua: update page (#10206)
parent
5c745629c2
commit
56c232b361
|
@ -9,8 +9,8 @@
|
|||
|
||||
- Execute a Lua script:
|
||||
|
||||
`lua {{script_name.lua}} {{--optional-argument}}`
|
||||
`lua {{path/to/script.lua}} {{--optional-argument}}`
|
||||
|
||||
- Execute a Lua expression:
|
||||
|
||||
`lua -e '{{print( "Hello World" )}}'`
|
||||
`lua -e '{{print("Hello World")}}'`
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# 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")}}'`
|
Loading…
Reference in New Issue