Lua

Updated: 04/26/2017 by Computer Hope

Lua logoLua is a programming language created in 1993 by a group of engineers at the Pontifical Catholic University of Rio De Janeiro, Brazil. It was written out of necessity, due to trade barriers that existed at the time making it financially impossible for them to buy custom software from other countries. Today, Lua is used all over the world for many applications, especially computer games.

Features of Lua

Lua's design is inspired by the Simple Object Language (SOL), which the engineers liked because of its way of incorporating data description into its syntax. The word "sol" means "sun" in Portuguese, so the developers named their new language "lua," which means "moon."

The language is multi-paradigm, offering flexible semantic tools for programming in many different styles. It is highly extensible, allowing the language itself to be heavily modified for custom uses.

"Hello, World!" in Lua

print('Hello World!')

Note: When a Lua program is saved it uses the .lua file extension.

Language, Programming terms