49
edits
mNo edit summary |
|||
| Line 1: | Line 1: | ||
{{wowlua}} | |||
'''Lua''' (from the Portuguese word for '''moon''') is the scripting language used by ''World of Warcraft'' for [[Interface Customization]]. Only a subset of version 5.1 of the official Lua specification is implemented, and should suit most [[AddOns|addon]] maker's needs. More information about Lua can be found on the official Lua [http://lua-users.org/wiki/LuaFaq FAQ]. | '''Lua''' (from the Portuguese word for '''moon''') is the scripting language used by ''World of Warcraft'' for [[Interface Customization]]. Only a subset of version 5.1 of the official Lua specification is implemented, and should suit most [[AddOns|addon]] maker's needs. More information about Lua can be found on the official Lua [http://lua-users.org/wiki/LuaFaq FAQ]. | ||
==Programming References== | == Programming References == | ||
These are not so much guides or tutorials, but a place to look for information on the Lua language itself. | These are not so much guides or tutorials, but a place to look for information on the Lua language itself. The reader should be somewhat familiar with programming in general. | ||
;[http://www.lua.org/manual/5.1/ Official Reference Manual] : contains syntax and basic commands, but is heavy-going for readers without a programming background ([http://pgl.yoyo.org/luai Luai]: alternative way of browsing the manual) | ;[http://www.lua.org/manual/5.1/ Official Reference Manual] | ||
;[http://www.inf.puc-rio.br/~roberto/book/ Programming in Lua] : the definitive Lua guide by [http://www.inf.puc-rio.br/~roberto/ Roberto Ierusalimschy]. [http://www.lua.org/pil/ Online version] | : contains syntax and basic commands, but is heavy-going for readers without a programming background ([http://pgl.yoyo.org/luai Luai]: alternative way of browsing the manual) | ||
;[http://lua-users.org/ lua-users] : Lua user group with a [http://lua-users.org/wiki/ Wiki] which includes a [http://lua-users.org/wiki/LuaFaq FAQ], [http://lua-users.org/wiki/LuaTutorial tutorials] and [http://lua-users.org/wiki/LuaDirectory extended help on many topics]. The group also hosts a mailing list (with past [http://lua-users.org/lists/lua-l/ archive]) and a IRC channel, [irc://irc.freenode.net/lua #lua at irc.freenode.net]. Lastly, their [http://lua-users.org/wiki/LuaLinks LuaLinks] page is very extensive. | ;[http://www.inf.puc-rio.br/~roberto/book/ Programming in Lua] | ||
: the definitive Lua guide by [http://www.inf.puc-rio.br/~roberto/ Roberto Ierusalimschy]. [http://www.lua.org/pil/ Online version] | |||
;[http://lua-users.org/ lua-users] | |||
: Lua user group with a [http://lua-users.org/wiki/ Wiki] which includes a [http://lua-users.org/wiki/LuaFaq FAQ], [http://lua-users.org/wiki/LuaTutorial tutorials] and [http://lua-users.org/wiki/LuaDirectory extended help on many topics]. The group also hosts a mailing list (with past [http://lua-users.org/lists/lua-l/ archive]) and a IRC channel, [irc://irc.freenode.net/lua #lua at irc.freenode.net]. Lastly, their [http://lua-users.org/wiki/LuaLinks LuaLinks] page is very extensive. | |||
==Lua Editors== | == Lua Editors == | ||
While any text editor can edit Lua files, many contain additional Lua specific features. | While any text editor can edit Lua files, many contain additional Lua specific features. | ||
Please see the list of [[Lua editors]]. | Please see the list of [[Lua editors]]. | ||
==Using Lua for World of Warcraft== | == Using Lua for World of Warcraft == | ||
Related projects include: | Related projects include: | ||
* [[WoWBench]]: aims to be a near-complete emulation of the WoW environment | * [[WoWBench]]: aims to be a near-complete emulation of the WoW environment | ||
* [http://luaforge.net/projects/lua-wow Lua 5.1.1 WoW]: distribution created by cogwheel that includes everything needed for addon development | * [http://luaforge.net/projects/lua-wow Lua 5.1.1 WoW]: distribution created by cogwheel that includes everything needed for addon development | ||
==See also== | == See also == | ||
* [[Lua variable scoping]] guide | * [[Lua variable scoping]] guide | ||
* [[Lua functions]] available in the World of Warcraft API | * [[Lua functions]] available in the World of Warcraft API | ||