Jump to content

Lua: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
Line 25: Line 25:


==Version==
==Version==
* Latest OS/2 version: V5.2.4 (2015-04-23)
* Latest OS/2 version: 5.3.5 (2018-07-14)


;Prerequisites
;Prerequisites

Revision as of 20:38, 15 August 2018

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

Programmer's utilities

  • Exuberant ctags - Creates index files out of Lua source files - Open source - Current
Editor support
  • jEdit - Java based editor - Lua syntax highlighting built in

Version

  • Latest OS/2 version: 5.3.5 (2018-07-14)
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