kids encyclopedia robot

Lua facts for kids

Kids Encyclopedia Facts
(Redirected from Lua (programming language))
Quick facts for kids
Lua
Lua-Logo.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.4 / January 30, 2017; 4 years ago (2017-01-30)
Typing discipline dynamic, strong, duck
OS Cross-platform
License MIT License
Major implementations
Lua, LuaJIT, LLVM-Lua, Lua Alchemy
Dialects
Metalua, Idle, GSL Shell
Influenced by
C++, CLU, Modula, Scheme, SNOBOL
Influenced
Io, GameMonkey, Squirrel, Falcon, MiniD

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, especially in video games such as World of Warcraft and SimCity 4. It is also used in the popular virtual world sharing website Roblox. 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)
kids search engine
Lua Facts for Kids. Kiddle Encyclopedia.