Lua

From EDM2
Revision as of 18:38, 15 August 2018 by Ak120 (Talk | contribs)

Jump to: navigation, search
Lua.gif

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

Links