Category:Lua
From Rosetta Code
This programming language may be used to instruct a computer to perform a task.
| Official website |
|---|
| Execution method: | Compiled (bytecode) |
|---|---|
| Garbage collected: | Yes |
| Type safety: | Safe |
| Type strength: | Strong |
| Type expression: | Implicit |
| Type checking: | Dynamic |
| See Also: |
If you know Lua, please write code for some of the tasks not implemented in Lua.
The Lua (pronounced LOO-ah) programming language is a lightweight, reflective, imperative and procedural language, designed as a scripting language with extensible semantics as a primary goal. The name is derived from the Portuguese word for moon.
Lua is commonly described as a "multi-paradigm" language, providing a small set of general features that can be extended to fit different problem types, rather than providing a more complex and rigid specification to match a single paradigm. Lua, for instance, does not contain explicit support for inheritance, but allows it to be implemented relatively easily with metatables. Similarly, Lua allows programmers to implement namespaces, classes, and other related features using its single table implementation; first class functions allow the employment of many powerful techniques from functional programming; and full lexical scoping allows fine-grained information hiding to enforce the principle of least privilege.
In general, Lua strives to provide flexible meta-features that can be extended as needed, rather than supply a feature-set specific to one programming paradigm. As a result, the base language is light—in fact, the full reference interpreter is only about 150KB compiled—and easily adaptable to a broad range of applications.
[edit] Citations
Subcategories
This category has the following 3 subcategories, out of 3 total.
@
Pages in category "Lua"
The following 166 pages are in this category, out of 166 total.

