ლუა: განსხვავება გადახედვებს შორის
[შეუმოწმებელი ვერსია] | [შეუმოწმებელი ვერსია] |
შიგთავსი ამოიშალა შიგთავსი დაემატა
მ ბოტის დამატება: ca:Lua |
მ →რესურსები ინტერნეტში: დასუფთავება, replaced: {{en}} → {{ref-en}} (7) using AWB |
||
ხაზი 81: | ხაზი 81: | ||
== რესურსები ინტერნეტში == |
== რესურსები ინტერნეტში == |
||
* {{en}} [http://www.lua.org Lua.org] — official site. |
* {{ref-en}} [http://www.lua.org Lua.org] — official site. |
||
* {{en}} [http://lua-users.org/ lua-users.org] — community website for and by users (and authors) of Lua. |
* {{ref-en}} [http://lua-users.org/ lua-users.org] — community website for and by users (and authors) of Lua. |
||
* {{en}} [http://www.linuxjournal.com/article/9605 A Look at Lua] — Overview of the language in [[Linux Journal]]. |
* {{ref-en}} [http://www.linuxjournal.com/article/9605 A Look at Lua] — Overview of the language in [[Linux Journal]]. |
||
* {{en}} [http://www.onlamp.com/pub/a/onlamp/2006/02/16/introducing-lua.html Introducing Lua] — ONLamp.com. |
* {{ref-en}} [http://www.onlamp.com/pub/a/onlamp/2006/02/16/introducing-lua.html Introducing Lua] — ONLamp.com. |
||
* {{en}} [http://www.gamedev.net/reference/articles/article1932.asp An Introduction to Lua] — GameDev.net. |
* {{ref-en}} [http://www.gamedev.net/reference/articles/article1932.asp An Introduction to Lua] — GameDev.net. |
||
* {{en}} [http://www.ibm.com/developerworks/linux/library/l-lua.html Embeddable scripting with Lua] — IBM developerWorks. |
* {{ref-en}} [http://www.ibm.com/developerworks/linux/library/l-lua.html Embeddable scripting with Lua] — IBM developerWorks. |
||
* {{en}} [http://www.computerworld.com.au/index.php/id;1028768484;fp;4194304;fpid;1 Interview with Roberto Ierusalimschy on Lua] — Computerworld. |
* {{ref-en}} [http://www.computerworld.com.au/index.php/id;1028768484;fp;4194304;fpid;1 Interview with Roberto Ierusalimschy on Lua] — Computerworld. |
||
{{პროგრამირების_ენები}} |
{{პროგრამირების_ენები}} |
20:05, 11 თებერვალი 2010-ის ვერსია
ფაილი:Lua logotipo.svg | |
ფაილის გაფართოება | .lua |
---|---|
გამოქვეყნების თარიღი | 1993 |
შემქმნელი | რობერტო იერუსალიმში, ვალდემარ სელესი, ლუიზ ჰენრიკე დე ფიგუეირედო |
ბოლო ვერსია | 5.1.4 |
პარადიგმა | ბრძანებითი, ფუნქციური, ობიექტებზე-ორიენტირებული, პროტოტიპზე დამოკიდებული |
ტიპების მინიჭება | დინამიური, სუსტი |
ენების ზეგავლენით | სქემე, სნობოლი, მოდულა, CLU, C++ |
ენებზე ზეგავლენა | იო, GameMonkey, Squirrel, C#, ფალკონი, დაო, MiniD |
მთავარი იმპლემენტირება | lua, LuaJIT, LLVM-Lua, LuaCLR, Nua, Lua Alchemy |
ლიზენზია | MIT ლიზენზია |
ოპერაციული სისტემა | მრავალპლატფორმული |
ვებ გვერდი | http://www.lua.org |
ლუა (პორტუგალიურად Lua, ნიშნავს მთვარეს ) არის მსუბუქი, ამრეკლავი, ბრძანებითი და ფუნქციური პროგრამირების ენა, შექმნილი სკრიპტების დასაწერად. ლუაში დაწერილი პროგრანების განვითარება შესაძლოა შედარებით მარტივი C ინტერფეისის მეშვეობით (ანუ C-ში დაწერილი ფუნქციების დამატება).
ლუაც და ჯავასკრიპტიც ხმარობენ პროტოტიპზე დაფუძნებულ ობიექტებს და სქემეს ბაძავენ, მათი სემანტიკა გავს მაგრამ სინტაქსურად განსხვავდებიან.
ლუა აქტიურად გამოიყენება ვიდეო თამაშების შექმნისათვის, ამის გარდა, მითი კომერციულ და არაკომერციულ პროგრამებსაც ქმნიან.
მაგალითები
ეკრანზე ბეჭდავს Hello World!-ს:
print("Hello World!")
function factorial(n)
if n == 0 then
return 1
else
return n * factorial(n - 1)
end
end
რესურსები ინტერნეტში
- (ინგლისური) Lua.org — official site.
- (ინგლისური) lua-users.org — community website for and by users (and authors) of Lua.
- (ინგლისური) A Look at Lua — Overview of the language in Linux Journal.
- (ინგლისური) Introducing Lua — ONLamp.com.
- (ინგლისური) An Introduction to Lua — GameDev.net.
- (ინგლისური) Embeddable scripting with Lua — IBM developerWorks.
- (ინგლისური) Interview with Roberto Ierusalimschy on Lua — Computerworld.
|