/
Lua only has one complex data-structure
Lua only has one complex data-structure
Lua only has tables as it’s only complex data-structure.
A Lua table has a dual nature as both an array or hash table.
A Lua program is in fact just a Lua table which contains the functions for the program.
This makes Lua the most symmetric implementation of a scripting language in the world.
It’s what makes the language so small and fast and makes it possible to implement with such a small amount of code.
, multiple selections available,
Related content
The core types of Lua
The core types of Lua
More like this
What is Lua?
What is Lua?
More like this
Example code showing the eight basic types in Lua
Example code showing the eight basic types in Lua
More like this
How does Lua's simplicity make it more secure?
How does Lua's simplicity make it more secure?
More like this
Meta tables
Meta tables
More like this