editors.dev

Lua

Lua is a small, fast scripting language designed to be embedded in other programs. Its interpreter is a compact C library, which makes it common for scripting in games, editors and network software.

Actively developed First released 1994

Editors for Lua

34 editors and IDEs support Lua. Built in first, then official and community extensions. Each row opens the editor at its Lua notes.

Filter the editor list

Community extension 12

Today

Lua 5.5 is the current version, and 5.5.1 is its first bug-fix release. Lua has no fixed release schedule: new minor versions such as 5.4 and 5.5 arrive about every five years, and the previous line still gets bug fixes, as Lua 5.4.9 did on 2026-08-25. LuaJIT, a widely used separate implementation, stays compatible with Lua 5.1. In the Stack Overflow Developer Survey 2025, 9.2 percent of respondents said they had used Lua.

What it is used for

Scripting and configuration inside larger programs: World of Warcraft add-ons, Roblox (through its Lua-derived Luau), Neovim plugins, Redis scripts, the OpenResty web platform built on nginx, and the LÖVE game framework.

History

Roberto Ierusalimschy, Luiz Henrique de Figueiredo and Waldemar Celes created Lua in 1993 at Tecgraf, a computer graphics group at the Pontifical Catholic University of Rio de Janeiro (PUC-Rio). It merged two small in-house languages, DEL and Sol, used in data-entry and report software for the oil company Petrobras, which ran a mix of DOS, Windows, Macintosh and Unix machines, so the language had to be portable. The first version ran inside Tecgraf in 1993; the first public release, Lua 1.1, followed in July 1994, and Lua 2.1 became free software in February 1995.

The language grew in small steps. Lua 3.1 added anonymous functions and closures, Lua 4.0 brought a new C API, and Lua 5.0 in 2003 introduced coroutines, metatables and full lexical scoping. Since Lua 5.0 it has been released under the MIT license.

Game studios took up Lua because it was small, fast and easy to embed; LucasArts' Grim Fandango was one of the first games to use it heavily. Lua 5.3 added an integer subtype and bitwise operators, Lua 5.4 added a generational garbage collector and to-be-closed variables, and Lua 5.5 in December 2025 added explicit global declarations.

Milestone versions

  1. 8 July 1994 1.1 First public release, with a simple syntax and a bytecode virtual machine.
  2. 1 July 1997 3.0 Replaced fallbacks with tag methods and added the auxiliary library.
  3. 6 November 2000 4.0 Added multiple independent states, a new C API and the for statement.
  4. 11 April 2003 5.0 Added coroutines, metatables, full lexical scoping, booleans and proper tail calls.
  5. 21 February 2006 5.1 Added a module system, an incremental garbage collector and the length operator.
  6. 16 December 2011 5.2 Added yieldable pcall and metamethods, ephemeron tables, a bitwise library and goto.
  7. 12 January 2015 5.3 Added an integer subtype, bitwise operators and a UTF-8 library.
  8. 29 June 2020 5.4 Added a generational garbage collection mode and const and to-be-closed variables.
  9. 22 December 2025 5.5 Added global variable declarations, named vararg tables, more compact arrays and incremental major collections.
  10. 3 August 2026 5.5.1 First bug-fix release of Lua 5.5.