mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
390 B
Plaintext
22 lines
390 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# lua
|
|
|
|
> A powerful, light-weight embeddable programming language.
|
|
> More information: <https://www.lua.org>.
|
|
|
|
- Start an interactive Lua shell:
|
|
|
|
`lua`
|
|
|
|
- Execute a Lua script:
|
|
|
|
`lua {{path/to/script.lua}} {{--optional-argument}}`
|
|
|
|
- Execute a Lua expression:
|
|
|
|
`lua -e '{{print("Hello World")}}'`
|