tldr/pages/common/lua.md

16 lines
252 B
Markdown
Raw Normal View History

2017-05-19 08:47:18 +01:00
# 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" )}}`