BSD Ports

lang/lua52 5.2.4_1 DragonFly

Small, compilable scripting language providing easy access to C code

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
lang
Package size
159.6 KiB, 944.9 KiB installed

Description

Lua is a programming language originally designed for extending applications, but also frequently used as a general-purpose, stand-alone language. Lua combines simple procedural syntax (similar to Pascal) with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid prototyping.

A fundamental concept in the design of Lua is to provide meta-mechanisms for implementing features, instead of providing a host of features directly in the language. For example, although Lua is not a pure object-oriented language, it does provide meta-mechanisms for implementing classes and inheritance. Lua's meta-mechanisms bring an economy of concepts and keep the language small, while allowing the semantics to be extended in unconventional ways. Extensible semantics is a distinguishing feature of Lua.

Lua is implemented as a small library of C functions, written in ANSI C, and compiles unmodified in all known platforms. The implementation goals are simplicity, efficiency, portability, and low embedding cost.

In the other systems

SystemPortVersion
DragonFlylang/lua525.2.4_1
FreeBSDlang/lua525.2.4_1
NetBSDlang/lua525.2.4nb1
MidnightBSDlang/lua525.2.4_2

Install

Binary package:

pkg install lua52

From DPorts:

cd /usr/dports/lang/lua52 && make install clean

Dependencies

Run dependencies 1