Lua
Lua |
---|
Basics |
Intermediate |
Advanced |
|
XLua |
Add to this template |
Lua (Portuguese for "moon") is a modular scripting language based on Scheme, designed to be integrated into software development environments alongside other development methods or programming languages.
Multimedia Fusion 2 has seen development of several Lua parser extensions by users, perhaps the most powerful of which is XLua.
Lua is currently in version 5.1.4.
Overview
Lua boasts support for anonymous functions, coroutines, and first-class functions.
The primary data structures are the table, a format similar to an array but able to hold most other data types, including functions and other tables, and the metatable, a table that may be attached to any other table, including itself, and allows definition of features that Lua does not normally understand via metamethods.
Lua may import C libraries (i.e. *.dll files) and the userdata type may be utilized in both languages.
Projects utilizing Lua
- Fangames:
- Engines and utilities:
External links
- Lua.org official manual
- Lua.org online parser
- Lua-users.org - Tutorials, information, and sample code
- Wikipedia article