Lua

Lua is a lightweight scripting language that is used by the game engine which runs Don't Starve. The core game is written in C++, although all game prefabs and modifications for the game are written in Lua. Lua is free to download and is released under the MIT license. To learn more about Lua, visit the official website at Lua.org. This typed scripting language is compact enough to fit on a variety of platforms. It supports only a small number of data structures such as boolean values, numbers, and strings. Lua implements a small set of advanced features such as first-class functions, garbage collection, closures, proper tail calls, coercion (automatic conversion between string and number values at run time), coroutines (cooperative multitasking) and dynamic module loading.
Don't Starve and Don't Starve Together use a slightly modified version of Lua 5.1.4.
== Trivia==
*"Lua" is not an acronym; it is the Portuguese word for "moon".
*Lua is used in other games for content creation such as Garry's Mod, The Binding of Isaac: Rebirth, and Empire: Total War.
==References==
Category:Programming
pl:LUA