Lua facts for kids

Kids Encyclopedia Facts
Lua
Lua-logo-nolabel.svg
Paradigm Multi-paradigm: scripting, imperative (procedural, prototype-based object-oriented), functional
Designed by Roberto Ierusalimschy
Waldemar Celes
Luiz Henrique de Figueiredo
First appeared 1993
Stable release 5.3.3 / June 6, 2016; 3 years ago (2016-06-06)
Typing discipline dynamic, strong, duck
OS Cross-platform
License MIT License
Website www.lua.org
Major implementations
Lua, LuaJIT, LLVM-Lua, Lua Alchemy
Dialects
Metalua, Idle, GSL Shell
Influenced by
C++, CLU, Modula, Scheme, SNOBOL
Influenced
Io

Lua is an open source programming language. It was created in 1993 by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes. Lua is used for many different things and is widely used in video games such as World of Warcraft. In June 2010, Apple Inc. changed the terms of use for the software development kit of its iOS operating system to allow the use of Lua. This led to Lua being used to make iPhone applications such as Angry Birds. In June 2011, Lua was ranked the tenth most popular programming language by the TIOBE Index.

Example

An example Hello World program in Lua:

#!/usr/bin/lua
print("Hello World!")

An example of setting a value, then printing it:

#!/usr/bin/lua
a = "Hello World!"
print(a)

Lua Facts for Kids. Kiddle Encyclopedia.