Jump to content

Lua: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 2: Line 2:
Lua is a powerful, fast, lightweight, embeddable scripting language.
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.  
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.
Runs on both FAT and HPFS file systems.
Line 18: Line 18:
* [[Snappy]] - Compression lib. - Open Source - Current
* [[Snappy]] - Compression lib. - Open Source - Current


==Lua related programmer's utilities==
==Programmer's utilities==
* [[Exuberant ctags]] - Creates index files out of Lua source files - Open source - Current
* [[Exuberant ctags]] - Creates index files out of Lua source files - Open source - Current


====Text & programmers editors with Lua support====
;Editor support
* [[jEdit]] - Java based editor - Lua syntax highlighting built in - Current
* [[jEdit]] - Java based editor - Lua syntax highlighting built in


==Version==
==Version==
Line 45: Line 45:
* Lua official homepage: http://www.lua.org
* Lua official homepage: http://www.lua.org


[[Category:Programming Languages]][[Category:Lua]][[Category:Open Source Software]]
[[Category:Scripting Language]][[Category:Lua]][[Category:Open Source Software]]

Revision as of 20:37, 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: 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