mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 14:15:44 +02:00
lua: add page (#1381)
This commit is contained in:
parent
1ff585c6fd
commit
93348478a1
1 changed files with 15 additions and 0 deletions
15
pages/common/lua.md
Normal file
15
pages/common/lua.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# lua
|
||||||
|
|
||||||
|
> A powerful, light-weight embeddable programming language.
|
||||||
|
|
||||||
|
- Start an interactive Lua shell:
|
||||||
|
|
||||||
|
`lua`
|
||||||
|
|
||||||
|
- Execute a Lua script:
|
||||||
|
|
||||||
|
`lua {{script_name.lua}} {{--optional-argument}}`
|
||||||
|
|
||||||
|
- Execute a Lua expression:
|
||||||
|
|
||||||
|
`lua -e '{{print( "Hello World" )}}`
|
Loading…
Add table
Reference in a new issue