1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 22:22:18 +02:00
tldr/pages/common/lua.md

16 lines
297 B
Markdown

# 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")}}'`