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 data types syntax

Lua is a dynamically typed language. Variables do not need to be typed, only variables need to be assigned values. Values ​​can be stored in variables, passed as arguments or returned as results.

Lua data types example

> print(type(a))
nil
>