Jump to content

Lua: Difference between revisions

From Wikiversity
Content deleted Content added
m Sidebar
Tule-hog (discuss | contribs)
add {for}
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{for|Lua on Wikiversity|WV:LUA}}
{{:{{BASEPAGENAME}}/Sidebar}}
{{:{{BASEPAGENAME}}/Sidebar}}
Lua is a lightweight, [[W:en:Reflection (computer programming)|reflective]], [[W:en:Imperative programming|imperative]] and [[W:en:Procedural programming|procedural]] language, designed as a scripting language with [[W:en:Extensible_programming#Extensible_syntax|extensible semantics]] as a primary goal. It is therefore an excellent language for extending existing applications, and is usually embedded in another application. It is coded in ANSI C, and can thus be compiled on a vast amount of different platforms. Lua scripts are usually compiled just before execution, but a compiler exists. Compiled scripts offer a small speed bonus as there is no need to compile the script at runtime.
Lua is a lightweight, [[W:en:Reflection (computer programming)|reflective]], [[W:en:Imperative programming|imperative]] and [[W:en:Procedural programming|procedural]] language, designed as a scripting language with [[W:en:Extensible_programming#Extensible_syntax|extensible semantics]] as a primary goal. It is therefore an excellent language for extending existing applications, and is usually embedded in another application. It is coded in ANSI C, and can thus be compiled on a vast amount of different platforms. Lua scripts are usually compiled just before execution, but a [[w:compiler|compiler]] exists. Compiled scripts offer a small speed bonus as there is no need to compile the script at runtime.


== Course Description ==
== Course Description ==
Line 11: Line 12:


==== Scribunto/Lua Language ====
==== Scribunto/Lua Language ====
* [[/Scribunto/Lua/]]
* [[/Scribunto Lua/]]
* [[/Modules/]]
* [[/Modules/]]
* [[/Variables/]]
* [[/Variables/]]
Line 35: Line 36:
* [[Wikipedia: Lua (programming language)]]
* [[Wikipedia: Lua (programming language)]]
* [http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual MediaWiki: Scribunto/Lua Reference Manual]
* [http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual MediaWiki: Scribunto/Lua Reference Manual]
* [[Topic:Lua]]


{{CourseCat}}
{{CourseCat}}
[[Category: Courses]]
[[Category:Technology courses]]
[[Category: Completed resources]]
[[Category: Completed resources]]

[[fr:Initiation au Lua avec Scribunto]]

Latest revision as of 02:24, 2 October 2024

Lua is a lightweight, reflective, imperative and procedural language, designed as a scripting language with extensible semantics as a primary goal. It is therefore an excellent language for extending existing applications, and is usually embedded in another application. It is coded in ANSI C, and can thus be compiled on a vast amount of different platforms. Lua scripts are usually compiled just before execution, but a compiler exists. Compiled scripts offer a small speed bonus as there is no need to compile the script at runtime.

Course Description

[edit | edit source]

This course begins with a brief background and introduction to Lua in other environments, and then provides an extensive set of lessons on the Scribunto/Lua Language as it is used in MediaWiki projects, including available Lua and Scribunto libraries. For Wikiversity Module developers, the Scribunto/Lua lessons should be completed first and in sequence before continuing on to the Lua and Scribunto libraries.

Lessons

[edit | edit source]

Scribunto/Lua Language

[edit | edit source]

Lua Libraries

[edit | edit source]

Scribunto Libraries

[edit | edit source]

See Also

[edit | edit source]