kidzsearch.com > wiki  

Lua



KidzSearch Safe Wikipedia for Kids.
(Redirected from Lua Programming Language)
Jump to: navigation, search
Lua
Lua-Logo.svg
Paradigm(s)Multi-paradigm: scripting, imperative (procedural, prototype-based, object-oriented), functional
Appeared in1993[1]
Designed byRoberto Ierusalimschy[2]
Waldemar Celes[2]
Luiz Henrique de Figueiredo[2]
Stable release5.3.4 / January 30, 2017; 4 years ago (2017-01-30)[3]
Typing disciplinedynamic, strong, duck
Major implementationsLua, LuaJIT, LLVM-Lua, Lua Alchemy Luvit
DialectsMetalua, Idle, GSL Shell Luau
Influenced byC++, CLU, Modula, Scheme, SNOBOL
InfluencedIo, GameMonkey, Squirrel, Falcon, MiniD
OSCross-platform
LicenseMIT License[4]
Websitewww.lua.org

Lua is an open source programming language.[1] It was created in 1993 by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes.[2] Lua is used for many different things, especially in video games such as World of Warcraft and SimCity 4.[5] It is also used in the popular virtual world sharing website Roblox under a dialect called Luau.[6] 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.[7] 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.[8]

Examples

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)

References

Other websites