Lua basic syntax


  Translation results:

Lua is a lightweight and compact scripting language, written in standard C language and open in source code form. It is designed to be embedded in applications to provide flexible expansion and customization functions for applications.

Lua basic syntaxsyntax

Lua provides an interactive programming mode. We can enter the program into the command line and see the effects immediately.

Lua interactive programming mode can be enabled through the command lua -i or lua

Lua basic syntaxexample

$ lua -i 
$ Lua 5.3.0  Copyright (C) 1994-2015 Lua.org, PUC-Rio
>

Home

Videos

Q&A