mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 12:51:41 +00:00
Update cheatsheets
This commit is contained in:
22
luajit
Normal file
22
luajit
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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")}}'`
|
||||
Reference in New Issue
Block a user