Difference between revisions of "Lua"

From RogueBasin
Jump to navigation Jump to search
m (Category:Programming languages)
(Added a little info, and sectionized)
Line 1: Line 1:
== Description ==
Lua is a very nice and easy to learn scripting language specifically designed to be embedable and able to represent complex data.
Lua is a very nice and easy to learn scripting language specifically designed to be embedable and able to represent complex data.


It features:
== Features ==
* Clean syntax
* Clean syntax
* Simple yet extremely powerful and extensible datastructure, the tables, that can be used as hashtables, vectors, arrays, lists, namespaces, objects, ...
* Simple yet extremely powerful and extensible datastructure, the tables, that can be used as hashtables, vectors, arrays, lists, namespaces, objects, ...
Line 8: Line 10:
* Very fast
* Very fast
* Can be compiled to bytecode(actaully it always is, but the bytecode can be dumped to a file for later reuse)
* Can be compiled to bytecode(actaully it always is, but the bytecode can be dumped to a file for later reuse)
* Easy integrated with all languages that can load C libraries (also [[FreePascal]]
* Many other nifty things ;)
* Many other nifty things ;)


Lua is heavily used by some roguelikes, like [[ToME]], where a good part of the engine is in Lua and the game itself will be completly in Lua in the next version, and the [[H-World]] engine.
== Roguelikes ==
 
Lua is probably the most popular scripting language for roguelikes. Some of the projects that use Lua:
 
* [[Angband]] - since 3.0.0 Angband supports Lua scripts.
* [[ToME]] - a good part of the engine is in Lua and the game itself will be completly in Lua in the next version.
* [[H-World]] - all modding in this engine is done through Lua scripts
* [[Tower of Doom]]
* [[Carceri]]
 
== Links ==


See also [http://lua.org/ Lua homepage].
* [http://lua.org/ Lua homepage]
[[Category:Programming languages]]
[[Category:Programming languages]]

Revision as of 11:42, 6 June 2005

Description

Lua is a very nice and easy to learn scripting language specifically designed to be embedable and able to represent complex data.

Features

  • Clean syntax
  • Simple yet extremely powerful and extensible datastructure, the tables, that can be used as hashtables, vectors, arrays, lists, namespaces, objects, ...
  • Easily embedable into existing projects
  • Lightweight
  • Very fast
  • Can be compiled to bytecode(actaully it always is, but the bytecode can be dumped to a file for later reuse)
  • Easy integrated with all languages that can load C libraries (also FreePascal
  • Many other nifty things ;)

Roguelikes

Lua is probably the most popular scripting language for roguelikes. Some of the projects that use Lua:

  • Angband - since 3.0.0 Angband supports Lua scripts.
  • ToME - a good part of the engine is in Lua and the game itself will be completly in Lua in the next version.
  • H-World - all modding in this engine is done through Lua scripts
  • Tower of Doom
  • Carceri

Links