Lua

This makes Lua ideal for configuration and extensions of other programs, also because of its great interoperation with C. The basic Lua interpreter is less than 250K in size. As the official implementation is written in ANSI C it is available for many platforms and architectures.

According to lua.org:

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

Installation

There are multiple versions available:

JIT compilation support

Just-in-time compilation is a method of compiling source code at run-time, rather than before. LuaJIT is a drop-in replacement for Lua 5.1. This version is best suited for higher performance constrains.

For JIT compilation support install the luajit package.

Modules

The LuaRocks package manager is available as luarocks.

Some modules are also available in the official repositories.

gollark: Also job security.
gollark: Suffering maximization, naturally.
gollark: C makes it quite easy to make particularly annoying and bad mistakes. With higher-level languages I can focus on cool™ higher-level mistakes.
gollark: Fascinating.
gollark: Anyway, people *are* capable of making mistakes without code being terribly formatted.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.