3f8f20827c
Highlights for this version: - new generational mode for garbage collection - to-be-closed variables - const variables - complete list: https://www.lua.org/manual/5.4/readme.html#changes The Lua Manual can be found here: https://www.lua.org/manual/5.4/ Incompatibilities from the previous version are specifically documented here: https://www.lua.org/manual/5.4/manual.html#8 Submitted by: Russ Haley <russ haley gmail com> Co-submitted by: Andrew Gierth <andrew_tao173 riddles org uk> Differential Revision: https://reviews.freebsd.org/D14709
21 lines
1.2 KiB
Text
21 lines
1.2 KiB
Text
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: https://www.lua.org/
|