mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
e836ab008a
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1 Make the default lua lua52 Make all lua ports using USES=lua Approved by: portmgr (implicit)
22 lines
1.2 KiB
Plaintext
22 lines
1.2 KiB
Plaintext
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.
|
|
|
|
WWW: http://www.lua.org/
|