tldr/pages/common/lua.md

296 B

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 {{script_name.lua}} {{--optional-argument}}

  • Execute a Lua expression:

lua -e '{{print( "Hello World" )}}'