Jump to content

Lua

From EDM2
Revision as of 23:14, 19 March 2018 by Ak120 (talk | contribs)

Lua is a powerful, fast, lightweight, embeddable scripting language.

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.

Runs on both FAT and HPFS file systems.

Please note that Lua is a noun and not an acronym, it is the Portuguese form of "Luna", or the Portuguese word for the moon in other words and should not be spelled all caps.

Alternative implementations

  • lua.js - A somewhat rudimentary but functional Lua on top of ECMAScript - Open source - Discontinued

Foreign libraries with Lua bindings

  • Cairo - 2D graphics library - Open source - Current
  • LibcURL - Internet URL (WWW, FTP, etc) access - Open Source - Current
  • LZ4 - Compression library - Open source - Current
  • Simple Directmedia Layer - Multimedia - Open Source - Current
  • Snappy - Compression lib. - Open Source - Current

Lua related programmer's utilities

  • Exuberant ctags - Creates index files out of Lua source files - Open source - Current

Text & programmers editors with Lua support

  • jEdit - Java based editor - Lua syntax highlighting built in - Current

Version

  • Latest OS/2 version: V5.2.4 (2015-04-23)
Prerequisites
  • Older versions (5.1.4 and earlier) required EMX

License and availability

Authors

Publications

  • Kurt Jung, Aaron Brown: Beginning Lua Programming - Wrox 2007, ISBN 0-470-06917-1
  • Roberto Ierusalimschy, L. H. de Figueiredo, W. Celes, et al.: Lua 5.2x Reference manual

Links