వికీపీడియా:Lua: కూర్పుల మధ్య తేడాలు
Content deleted Content added
Dragons flight (చర్చ | రచనలు) →About Lua: Use a hello world example rather than the dysfunctional factorial example (we don't even support "print") |
→About Lua: Displaying a thumbnail of the first page of a PDF presentation isn't very useful, so converting into a see also link. |
||
పంక్తి 19:
== About Lua ==
:''See also [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf
Lua is a [[scripting language]] which can be used to analyze data, calculate expressions, and format results using functions or [[object-oriented programming]]. Although some Lua script can be kept simple, for easy understanding, Lua allows complex structures which would challenge a [[computer scientist]], with tables, dynamic functions, and [[associative array]]s where index [[subscript]]s can be words as well as index numbers. Lua also supports [[recursion]] of re-nested functions, so care should be taken to avoid excessive complexity where other users would not understand how to maintain a Lua module. The following is an example of Lua [[source code]] for a [[hello world]] function contained in [[Module:HelloWorld]]:
<syntaxhighlight lang="lua">
|