CINXE.COM

Lua - Wikipedia, kamusi elezo huru

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="sw" dir="ltr"> <head> <meta charset="UTF-8"> <title>Lua - Wikipedia, kamusi elezo huru</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )swwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy" ,"wgMonthNames":["","Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Desemba"],"wgRequestId":"a47a1e1d-2dd1-4744-9456-c8edcc3a5c0f","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Lua","wgTitle":"Lua","wgCurRevisionId":1274971,"wgRevisionId":1274971,"wgArticleId":121301,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Pages using ISBN magic links","Kompyuta","Lugha za programu"],"wgPageViewLanguage":"sw","wgPageContentLanguage":"sw","wgPageContentModel":"wikitext","wgRelevantPageName":"Lua","wgRelevantArticleId":121301,"wgTempUserName":null,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{ "pageLanguageCode":"sw","pageLanguageDir":"ltr","pageVariantFallbacks":"sw"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":2000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q207316","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.pygments": "ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=sw&amp;modules=ext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=sw&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=sw&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/1200px-Lua-Logo.svg.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1200"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/800px-Lua-Logo.svg.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="800"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/640px-Lua-Logo.svg.png"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="640"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Lua - Wikipedia, kamusi elezo huru"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//sw.m.wikipedia.org/wiki/Lua"> <link rel="alternate" type="application/x-wiki" title="Hariri" href="/w/index.php?title=Lua&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (sw)"> <link rel="EditURI" type="application/rsd+xml" href="//sw.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://sw.wikipedia.org/wiki/Lua"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.sw"> <link rel="alternate" type="application/atom+xml" title="Tawanyiko la Atom la Wikipedia" href="/w/index.php?title=Maalum:MabadalikoyaKaribuni&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Lua rootpage-Lua skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Nenda kwa yaliyomo</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Tovuti"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Menyu kuu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Menyu kuu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Menyu kuu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">hamishia kwenye mwambaa upande</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">ficha</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Urambazaji </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Mwanzo" title="Tembelea Mwanzo [z]" accesskey="z"><span>Mwanzo</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Jumuia" title="Kuhusu mradi, mambo unaweza kufanya, na mahali pa kugundua vitu"><span>Jumuiya</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Wikipedia:Matukio_ya_hivi_karibuni" title="Maarifa kuhusu habari za siku hizi"><span>Matukio ya hivi karibuni</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Maalum:MabadalikoyaKaribuni" title="Orodha ya mabadiliko ya hivi karibuni katika Wiki. [r]" accesskey="r"><span>Mabadiliko ya karibuni</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Maalum:UkurasawaBahati" title="Onyesha ukurasa wa bahati [x]" accesskey="x"><span>Ukurasa wa bahati</span></a></li><li id="n-help" class="mw-list-item"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" title="Mahali pa kueleweshwa."><span>Msaada</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Mwanzo" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="Kamusi elezo ya maandishi huru" src="/static/images/mobile/copyright/wikipedia-tagline-sw.svg" width="117" height="10" style="width: 7.3125em; height: 0.625em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Maalum:Tafuta" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Tafuta Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Tafuta</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Tafuta Wikipedia" aria-label="Tafuta Wikipedia" autocapitalize="sentences" title="Tafuta Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Maalum:Tafuta"> </div> <button class="cdx-button cdx-search-input__end-button">Tafuta</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Zana binafsi"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Mandhari"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Badilisha mandhari ya ukubwa, upana, na rangi ya fonti ya ukurasa" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Mandhari" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Mandhari</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_sw.wikipedia.org&amp;uselang=sw" class=""><span>Michango</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Maalum:SajiliAkaunti&amp;returnto=Lua" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Unda akaunti</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Maalum:IngiaMtumiaji&amp;returnto=Lua" title="Tunakushajiisha kuingia, lakini siyo lazima. [o]" accesskey="o" class=""><span>Ingia</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out user-links-collapsible-item" title="Chaguo zaidi" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Zana binafsi" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Zana binafsi</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_sw.wikipedia.org&amp;uselang=sw"><span>Michango</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Maalum:SajiliAkaunti&amp;returnto=Lua" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Unda akaunti</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Maalum:IngiaMtumiaji&amp;returnto=Lua" title="Tunakushajiisha kuingia, lakini siyo lazima. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Ingia</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Tovuti"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Yaliyomo" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Yaliyomo</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">hamishia kwenye mwambaa upande</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">ficha</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Mwanzo</div> </a> </li> <li id="toc-Historia" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Historia"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Historia</span> </div> </a> <ul id="toc-Historia-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Falsafa" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Falsafa"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Falsafa</span> </div> </a> <ul id="toc-Falsafa-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Sintaksia" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Sintaksia"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Sintaksia</span> </div> </a> <ul id="toc-Sintaksia-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Mifano_ya_Lua" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Mifano_ya_Lua"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Mifano ya Lua</span> </div> </a> <ul id="toc-Mifano_ya_Lua-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Marejeo" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Marejeo"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Marejeo</span> </div> </a> <ul id="toc-Marejeo-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Yaliyomo" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Geuza uonekanaji wa yaliyomo" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Geuza uonekanaji wa yaliyomo</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Lua</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Nenda kwenye makala kwa lugha nyingine. Lugha 71 zinapatikana" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-71" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">Lugha 71</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D9%84%D9%88%D8%A7_(%D9%84%D8%BA%D8%A9_%D8%A8%D8%B1%D9%85%D8%AC%D8%A9)" title="لوا (لغة برمجة) – Kiarabu" lang="ar" hreflang="ar" data-title="لوا (لغة برمجة)" data-language-autonym="العربية" data-language-local-name="Kiarabu" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/Lua" title="Lua – Kiazerbaijani" lang="az" hreflang="az" data-title="Lua" data-language-autonym="Azərbaycanca" data-language-local-name="Kiazerbaijani" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/Lua_(%D0%BC%D0%BE%D0%B2%D0%B0_%D0%BF%D1%80%D0%B0%D0%B3%D1%80%D0%B0%D0%BC%D0%B0%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F)" title="Lua (мова праграмавання) – Kibelarusi" lang="be" hreflang="be" data-title="Lua (мова праграмавання)" data-language-autonym="Беларуская" data-language-local-name="Kibelarusi" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-be-x-old mw-list-item"><a href="https://be-tarask.wikipedia.org/wiki/Lua" title="Lua – Belarusian (Taraškievica orthography)" lang="be-tarask" hreflang="be-tarask" data-title="Lua" data-language-autonym="Беларуская (тарашкевіца)" data-language-local-name="Belarusian (Taraškievica orthography)" class="interlanguage-link-target"><span>Беларуская (тарашкевіца)</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/Lua" title="Lua – Kibulgaria" lang="bg" hreflang="bg" data-title="Lua" data-language-autonym="Български" data-language-local-name="Kibulgaria" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%B2%E0%A7%81%E0%A6%AF%E0%A6%BC%E0%A6%BE_(%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A7%8B%E0%A6%97%E0%A7%8D%E0%A6%B0%E0%A6%BE%E0%A6%AE%E0%A6%BF%E0%A6%82_%E0%A6%AD%E0%A6%BE%E0%A6%B7%E0%A6%BE)" title="লুয়া (প্রোগ্রামিং ভাষা) – Kibengali" lang="bn" hreflang="bn" data-title="লুয়া (প্রোগ্রামিং ভাষা)" data-language-autonym="বাংলা" data-language-local-name="Kibengali" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-bs mw-list-item"><a href="https://bs.wikipedia.org/wiki/Lua_(programski_jezik)" title="Lua (programski jezik) – Kibosnia" lang="bs" hreflang="bs" data-title="Lua (programski jezik)" data-language-autonym="Bosanski" data-language-local-name="Kibosnia" class="interlanguage-link-target"><span>Bosanski</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Lua" title="Lua – Kikatalani" lang="ca" hreflang="ca" data-title="Lua" data-language-autonym="Català" data-language-local-name="Kikatalani" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-ckb mw-list-item"><a href="https://ckb.wikipedia.org/wiki/%D9%84%D9%88%D8%A7_(%D8%B2%D9%85%D8%A7%D9%86%DB%8C_%D9%BE%D8%B1%DB%86%DA%AF%D8%B1%D8%A7%D9%85%D8%B3%D8%A7%D8%B2%DB%8C)" title="لوا (زمانی پرۆگرامسازی) – Kikurdi cha Sorani" lang="ckb" hreflang="ckb" data-title="لوا (زمانی پرۆگرامسازی)" data-language-autonym="کوردی" data-language-local-name="Kikurdi cha Sorani" class="interlanguage-link-target"><span>کوردی</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Lua" title="Lua – Kicheki" lang="cs" hreflang="cs" data-title="Lua" data-language-autonym="Čeština" data-language-local-name="Kicheki" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/Lua_(programmeringssprog)" title="Lua (programmeringssprog) – Kidenmaki" lang="da" hreflang="da" data-title="Lua (programmeringssprog)" data-language-autonym="Dansk" data-language-local-name="Kidenmaki" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Lua" title="Lua – Kijerumani" lang="de" hreflang="de" data-title="Lua" data-language-autonym="Deutsch" data-language-local-name="Kijerumani" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-diq mw-list-item"><a href="https://diq.wikipedia.org/wiki/Lua" title="Lua – Zazaki" lang="diq" hreflang="diq" data-title="Lua" data-language-autonym="Zazaki" data-language-local-name="Zazaki" class="interlanguage-link-target"><span>Zazaki</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/Lua" title="Lua – Kigiriki" lang="el" hreflang="el" data-title="Lua" data-language-autonym="Ελληνικά" data-language-local-name="Kigiriki" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Lua_(programming_language)" title="Lua (programming language) – Kiingereza" lang="en" hreflang="en" data-title="Lua (programming language)" data-language-autonym="English" data-language-local-name="Kiingereza" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/Lua" title="Lua – Kiesperanto" lang="eo" hreflang="eo" data-title="Lua" data-language-autonym="Esperanto" data-language-local-name="Kiesperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Lua" title="Lua – Kihispania" lang="es" hreflang="es" data-title="Lua" data-language-autonym="Español" data-language-local-name="Kihispania" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/Lua" title="Lua – Kiestonia" lang="et" hreflang="et" data-title="Lua" data-language-autonym="Eesti" data-language-local-name="Kiestonia" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/Lua_(programazio_lengoaia)" title="Lua (programazio lengoaia) – Kibaski" lang="eu" hreflang="eu" data-title="Lua (programazio lengoaia)" data-language-autonym="Euskara" data-language-local-name="Kibaski" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D9%84%D9%88%D8%A2_(%D8%B2%D8%A8%D8%A7%D9%86_%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87%E2%80%8C%D9%86%D9%88%DB%8C%D8%B3%DB%8C)" title="لوآ (زبان برنامه‌نویسی) – Kiajemi" lang="fa" hreflang="fa" data-title="لوآ (زبان برنامه‌نویسی)" data-language-autonym="فارسی" data-language-local-name="Kiajemi" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Lua" title="Lua – Kifini" lang="fi" hreflang="fi" data-title="Lua" data-language-autonym="Suomi" data-language-local-name="Kifini" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Lua" title="Lua – Kifaransa" lang="fr" hreflang="fr" data-title="Lua" data-language-autonym="Français" data-language-local-name="Kifaransa" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/Lua_(linguaxe_de_programaci%C3%B3n)" title="Lua (linguaxe de programación) – Kigalisi" lang="gl" hreflang="gl" data-title="Lua (linguaxe de programación)" data-language-autonym="Galego" data-language-local-name="Kigalisi" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%9C%D7%95%D7%90%D7%94_(%D7%A9%D7%A4%D7%AA_%D7%AA%D7%9B%D7%A0%D7%95%D7%AA)" title="לואה (שפת תכנות) – Kiebrania" lang="he" hreflang="he" data-title="לואה (שפת תכנות)" data-language-autonym="עברית" data-language-local-name="Kiebrania" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%B2%E0%A5%81%E0%A4%86_(%E0%A4%AA%E0%A5%8D%E0%A4%B0%E0%A5%8B%E0%A4%97%E0%A5%8D%E0%A4%B0%E0%A4%BE%E0%A4%AE%E0%A4%A8_%E0%A4%AD%E0%A4%BE%E0%A4%B7%E0%A4%BE)" title="लुआ (प्रोग्रामन भाषा) – Kihindi" lang="hi" hreflang="hi" data-title="लुआ (प्रोग्रामन भाषा)" data-language-autonym="हिन्दी" data-language-local-name="Kihindi" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-hr mw-list-item"><a href="https://hr.wikipedia.org/wiki/Lua" title="Lua – Kikorasia" lang="hr" hreflang="hr" data-title="Lua" data-language-autonym="Hrvatski" data-language-local-name="Kikorasia" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/Lua_(programoz%C3%A1si_nyelv)" title="Lua (programozási nyelv) – Kihungaria" lang="hu" hreflang="hu" data-title="Lua (programozási nyelv)" data-language-autonym="Magyar" data-language-local-name="Kihungaria" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/Lua_(%D5%AE%D6%80%D5%A1%D5%A3%D6%80%D5%A1%D5%BE%D5%B8%D6%80%D5%B4%D5%A1%D5%B6_%D5%AC%D5%A5%D5%A6%D5%B8%D6%82)" title="Lua (ծրագրավորման լեզու) – Kiarmenia" lang="hy" hreflang="hy" data-title="Lua (ծրագրավորման լեզու)" data-language-autonym="Հայերեն" data-language-local-name="Kiarmenia" class="interlanguage-link-target"><span>Հայերեն</span></a></li><li class="interlanguage-link interwiki-ia mw-list-item"><a href="https://ia.wikipedia.org/wiki/Lua_(linguage_de_programmation)" title="Lua (linguage de programmation) – Kiintalingua" lang="ia" hreflang="ia" data-title="Lua (linguage de programmation)" data-language-autonym="Interlingua" data-language-local-name="Kiintalingua" class="interlanguage-link-target"><span>Interlingua</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Lua_(bahasa_pemrograman)" title="Lua (bahasa pemrograman) – Kiindonesia" lang="id" hreflang="id" data-title="Lua (bahasa pemrograman)" data-language-autonym="Bahasa Indonesia" data-language-local-name="Kiindonesia" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/Lua_(programifo-linguo)" title="Lua (programifo-linguo) – Kiido" lang="io" hreflang="io" data-title="Lua (programifo-linguo)" data-language-autonym="Ido" data-language-local-name="Kiido" class="interlanguage-link-target"><span>Ido</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/Lua_(forritunarm%C3%A1l)" title="Lua (forritunarmál) – Kiisilandi" lang="is" hreflang="is" data-title="Lua (forritunarmál)" data-language-autonym="Íslenska" data-language-local-name="Kiisilandi" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Lua" title="Lua – Kiitaliano" lang="it" hreflang="it" data-title="Lua" data-language-autonym="Italiano" data-language-local-name="Kiitaliano" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Lua" title="Lua – Kijapani" lang="ja" hreflang="ja" data-title="Lua" data-language-autonym="日本語" data-language-local-name="Kijapani" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-ka mw-list-item"><a href="https://ka.wikipedia.org/wiki/%E1%83%9A%E1%83%A3%E1%83%90" title="ლუა – Kijojia" lang="ka" hreflang="ka" data-title="ლუა" data-language-autonym="ქართული" data-language-local-name="Kijojia" class="interlanguage-link-target"><span>ქართული</span></a></li><li class="interlanguage-link interwiki-km mw-list-item"><a href="https://km.wikipedia.org/wiki/%E1%9E%97%E1%9E%B6%E1%9E%9F%E1%9E%B6%E1%9E%80%E1%9E%98%E1%9F%92%E1%9E%98%E1%9E%9C%E1%9E%B7%E1%9E%92%E1%9E%B8_Lua" title="ភាសាកម្មវិធី Lua – Kikambodia" lang="km" hreflang="km" data-title="ភាសាកម្មវិធី Lua" data-language-autonym="ភាសាខ្មែរ" data-language-local-name="Kikambodia" class="interlanguage-link-target"><span>ភាសាខ្មែរ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EB%A3%A8%EC%95%84_(%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D_%EC%96%B8%EC%96%B4)" title="루아 (프로그래밍 언어) – Kikorea" lang="ko" hreflang="ko" data-title="루아 (프로그래밍 언어)" data-language-autonym="한국어" data-language-local-name="Kikorea" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-la mw-list-item"><a href="https://la.wikipedia.org/wiki/Lua_(lingua_programmandi)" title="Lua (lingua programmandi) – Kilatini" lang="la" hreflang="la" data-title="Lua (lingua programmandi)" data-language-autonym="Latina" data-language-local-name="Kilatini" class="interlanguage-link-target"><span>Latina</span></a></li><li class="interlanguage-link interwiki-lv mw-list-item"><a href="https://lv.wikipedia.org/wiki/Lua" title="Lua – Kilatvia" lang="lv" hreflang="lv" data-title="Lua" data-language-autonym="Latviešu" data-language-local-name="Kilatvia" class="interlanguage-link-target"><span>Latviešu</span></a></li><li class="interlanguage-link interwiki-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%B2%E0%B5%82%E0%B4%85_(%E0%B4%AA%E0%B5%8D%E0%B4%B0%E0%B5%8B%E0%B4%97%E0%B5%8D%E0%B4%B0%E0%B4%BE%E0%B4%AE%E0%B4%BF%E0%B4%82%E0%B4%97%E0%B5%8D_%E0%B4%AD%E0%B4%BE%E0%B4%B7)" title="ലൂഅ (പ്രോഗ്രാമിംഗ് ഭാഷ) – Kimalayalamu" lang="ml" hreflang="ml" data-title="ലൂഅ (പ്രോഗ്രാമിംഗ് ഭാഷ)" data-language-autonym="മലയാളം" data-language-local-name="Kimalayalamu" class="interlanguage-link-target"><span>മലയാളം</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Lua_(bahasa_pengaturcaraan)" title="Lua (bahasa pengaturcaraan) – Kimalei" lang="ms" hreflang="ms" data-title="Lua (bahasa pengaturcaraan)" data-language-autonym="Bahasa Melayu" data-language-local-name="Kimalei" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Lua_(programmeertaal)" title="Lua (programmeertaal) – Kiholanzi" lang="nl" hreflang="nl" data-title="Lua (programmeertaal)" data-language-autonym="Nederlands" data-language-local-name="Kiholanzi" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Lua" title="Lua – Kinorwe cha Bokmal" lang="nb" hreflang="nb" data-title="Lua" data-language-autonym="Norsk bokmål" data-language-local-name="Kinorwe cha Bokmal" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-or mw-list-item"><a href="https://or.wikipedia.org/wiki/%E0%AC%B2%E0%AD%81%E0%AC%86_(%E0%AC%AA%E0%AD%8D%E0%AC%B0%E0%AD%8B%E0%AC%97%E0%AD%8D%E0%AC%B0%E0%AC%BE%E0%AC%AE%E0%AC%BF%E0%AC%82_%E0%AC%AD%E0%AC%BE%E0%AC%B7%E0%AC%BE)" title="ଲୁଆ (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା) – Kioriya" lang="or" hreflang="or" data-title="ଲୁଆ (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା)" data-language-autonym="ଓଡ଼ିଆ" data-language-local-name="Kioriya" class="interlanguage-link-target"><span>ଓଡ଼ିଆ</span></a></li><li class="interlanguage-link interwiki-pa mw-list-item"><a href="https://pa.wikipedia.org/wiki/%E0%A8%B2%E0%A9%82%E0%A8%86_(%E0%A8%AA%E0%A9%8D%E0%A8%B0%E0%A9%8B%E0%A8%97%E0%A8%B0%E0%A8%BE%E0%A8%AE%E0%A8%BF%E0%A9%B0%E0%A8%97_%E0%A8%AD%E0%A8%BE%E0%A8%B8%E0%A8%BC%E0%A8%BE)" title="ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ) – Kipunjabi" lang="pa" hreflang="pa" data-title="ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="Kipunjabi" class="interlanguage-link-target"><span>ਪੰਜਾਬੀ</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Lua" title="Lua – Kipolandi" lang="pl" hreflang="pl" data-title="Lua" data-language-autonym="Polski" data-language-local-name="Kipolandi" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pnb mw-list-item"><a href="https://pnb.wikipedia.org/wiki/%D9%84%D9%88%D8%A7_(%D9%BE%D8%B1%D9%88%DA%AF%D8%B1%D8%A7%D9%85%D9%86%DA%AF_%D8%B2%D8%A8%D8%A7%D9%86)" title="لوا (پروگرامنگ زبان) – Western Punjabi" lang="pnb" hreflang="pnb" data-title="لوا (پروگرامنگ زبان)" data-language-autonym="پنجابی" data-language-local-name="Western Punjabi" class="interlanguage-link-target"><span>پنجابی</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Lua_(linguagem_de_programa%C3%A7%C3%A3o)" title="Lua (linguagem de programação) – Kireno" lang="pt" hreflang="pt" data-title="Lua (linguagem de programação)" data-language-autonym="Português" data-language-local-name="Kireno" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-qu mw-list-item"><a href="https://qu.wikipedia.org/wiki/Lua_(wakichiy_simi)" title="Lua (wakichiy simi) – Kikechua" lang="qu" hreflang="qu" data-title="Lua (wakichiy simi)" data-language-autonym="Runa Simi" data-language-local-name="Kikechua" class="interlanguage-link-target"><span>Runa Simi</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/Lua_(limbaj_de_programare)" title="Lua (limbaj de programare) – Kiromania" lang="ro" hreflang="ro" data-title="Lua (limbaj de programare)" data-language-autonym="Română" data-language-local-name="Kiromania" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/Lua" title="Lua – Kirusi" lang="ru" hreflang="ru" data-title="Lua" data-language-autonym="Русский" data-language-local-name="Kirusi" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/%E0%B6%BD%E0%B7%94%E0%B7%80%E0%B7%8F_(%E0%B6%9A%E0%B7%8A%E2%80%8D%E0%B6%BB%E0%B6%B8%E0%B6%BD%E0%B7%9A%E0%B6%9B%E0%B6%B1_%E0%B6%B7%E0%B7%8F%E0%B7%82%E0%B7%8F%E0%B7%80)" title="ලුවා (ක්‍රමලේඛන භාෂාව) – Kisinhala" lang="si" hreflang="si" data-title="ලුවා (ක්‍රමලේඛන භාෂාව)" data-language-autonym="සිංහල" data-language-local-name="Kisinhala" class="interlanguage-link-target"><span>සිංහල</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Lua" title="Lua – Simple English" lang="en-simple" hreflang="en-simple" data-title="Lua" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sk mw-list-item"><a href="https://sk.wikipedia.org/wiki/Lua" title="Lua – Kislovakia" lang="sk" hreflang="sk" data-title="Lua" data-language-autonym="Slovenčina" data-language-local-name="Kislovakia" class="interlanguage-link-target"><span>Slovenčina</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Lua_(programski_jezik)" title="Lua (programski jezik) – Kislovenia" lang="sl" hreflang="sl" data-title="Lua (programski jezik)" data-language-autonym="Slovenščina" data-language-local-name="Kislovenia" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-so mw-list-item"><a href="https://so.wikipedia.org/wiki/Lua" title="Lua – Kisomali" lang="so" hreflang="so" data-title="Lua" data-language-autonym="Soomaaliga" data-language-local-name="Kisomali" class="interlanguage-link-target"><span>Soomaaliga</span></a></li><li class="interlanguage-link interwiki-sq mw-list-item"><a href="https://sq.wikipedia.org/wiki/Lua" title="Lua – Kialbania" lang="sq" hreflang="sq" data-title="Lua" data-language-autonym="Shqip" data-language-local-name="Kialbania" class="interlanguage-link-target"><span>Shqip</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/Lua_(programski_jezik)" title="Lua (programski jezik) – Kiserbia" lang="sr" hreflang="sr" data-title="Lua (programski jezik)" data-language-autonym="Српски / srpski" data-language-local-name="Kiserbia" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Lua" title="Lua – Kiswidi" lang="sv" hreflang="sv" data-title="Lua" data-language-autonym="Svenska" data-language-local-name="Kiswidi" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%B2%E0%AF%82%E0%AE%B5%E0%AE%BE" title="லூவா – Kitamili" lang="ta" hreflang="ta" data-title="லூவா" data-language-autonym="தமிழ்" data-language-local-name="Kitamili" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-tg mw-list-item"><a href="https://tg.wikipedia.org/wiki/Lua" title="Lua – Kitajiki" lang="tg" hreflang="tg" data-title="Lua" data-language-autonym="Тоҷикӣ" data-language-local-name="Kitajiki" class="interlanguage-link-target"><span>Тоҷикӣ</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2%E0%B8%A5%E0%B8%B9%E0%B8%AD%E0%B8%B2" title="ภาษาลูอา – Kithai" lang="th" hreflang="th" data-title="ภาษาลูอา" data-language-autonym="ไทย" data-language-local-name="Kithai" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Lua" title="Lua – Kituruki" lang="tr" hreflang="tr" data-title="Lua" data-language-autonym="Türkçe" data-language-local-name="Kituruki" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-udm mw-list-item"><a href="https://udm.wikipedia.org/wiki/Lua" title="Lua – Kiudmurt" lang="udm" hreflang="udm" data-title="Lua" data-language-autonym="Удмурт" data-language-local-name="Kiudmurt" class="interlanguage-link-target"><span>Удмурт</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/Lua" title="Lua – Kiukraini" lang="uk" hreflang="uk" data-title="Lua" data-language-autonym="Українська" data-language-local-name="Kiukraini" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-ur mw-list-item"><a href="https://ur.wikipedia.org/wiki/%D9%84%D9%88%D8%A7_(%D9%BE%D8%B1%D9%88%DA%AF%D8%B1%D8%A7%D9%85%D9%86%DA%AF_%D8%B2%D8%A8%D8%A7%D9%86)" title="لوا (پروگرامنگ زبان) – Kiurdu" lang="ur" hreflang="ur" data-title="لوا (پروگرامنگ زبان)" data-language-autonym="اردو" data-language-local-name="Kiurdu" class="interlanguage-link-target"><span>اردو</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/Lua" title="Lua – Kivietinamu" lang="vi" hreflang="vi" data-title="Lua" data-language-autonym="Tiếng Việt" data-language-local-name="Kivietinamu" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-wuu mw-list-item"><a href="https://wuu.wikipedia.org/wiki/Lua" title="Lua – Kichina cha Wu" lang="wuu" hreflang="wuu" data-title="Lua" data-language-autonym="吴语" data-language-local-name="Kichina cha Wu" class="interlanguage-link-target"><span>吴语</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/Lua" title="Lua – Kichina" lang="zh" hreflang="zh" data-title="Lua" data-language-autonym="中文" data-language-local-name="Kichina" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/Lua" title="Lua – Minnan" lang="nan" hreflang="nan" data-title="Lua" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="Minnan" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/Lua" title="Lua – Kikantoni" lang="yue" hreflang="yue" data-title="Lua" data-language-autonym="粵語" data-language-local-name="Kikantoni" class="interlanguage-link-target"><span>粵語</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q207316#sitelinks-wikipedia" title="Hariri viungo vya lugha zingine" class="wbc-editpage">Hariri viungo</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Maeneo ya wiki"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Lua" title="Onyesha kurasa zilizopo [c]" accesskey="c"><span>Makala</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Majadiliano:Lua&amp;action=edit&amp;redlink=1" rel="discussion" class="new" title="Mazungumzo kuhusu makala (bado haujaandikwa) [t]" accesskey="t"><span>Majadiliano</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Badilisha lahaja ya lugha" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Kiswahili</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Mitazamo"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Lua"><span>Soma</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Lua&amp;veaction=edit" title="Hariri ukurasa huu na VisualEditor [v]" accesskey="v"><span>Hariri</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Lua&amp;action=edit" title="Hariri chanzo msimbo za ukurasa huu [e]" accesskey="e"><span>Hariri chanzo</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Lua&amp;action=history" title="Mapitio ya awali ya ukurasa huu [h]" accesskey="h"><span>Fungua historia</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Zana za ukurasa"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Zana" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Zana</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Zana</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">hamishia kwenye mwambaa upande</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">ficha</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Vitendo </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Lua"><span>Soma</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Lua&amp;veaction=edit" title="Hariri ukurasa huu na VisualEditor [v]" accesskey="v"><span>Hariri</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Lua&amp;action=edit" title="Hariri chanzo msimbo za ukurasa huu [e]" accesskey="e"><span>Hariri chanzo</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Lua&amp;action=history"><span>Fungua historia</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Kijumla </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Maalum:VingoViungavyoUkurasahuu/Lua" title="Orodha ya kurasa zote za Wiki zilizounganishwa na ukurasa huu [j]" accesskey="j"><span>Viungo viungavyo ukurasa huu</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Maalum:RecentChangesLinked/Lua" rel="nofollow" title="Mabadiliko ya karibuni ya katika kurasa zilizounganishwa na ukurasa huu [k]" accesskey="k"><span>Mabadiliko husika</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=sw" title="Pakia picha, video, au sauti [u]" accesskey="u"><span>Pakia faili</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Maalum:KurasaMaalum" title="Orodha ya kurasa zote maalumu [q]" accesskey="q"><span>Kurasa maalumu</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Lua&amp;oldid=1274971" title="Kiungo cha daima cha kufikisha pitio hili la ukurasa"><span>Kiungo cha daima</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Lua&amp;action=info" title="More information about this page"><span>Maelezo ya ukurasa</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Maalum:Taja&amp;page=Lua&amp;id=1274971&amp;wpFormIdentifier=titleform" title="Taarifa juu ya njia ya kutaja ukurasa huu"><span>Taja ukurasa huu</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Maalum:UrlShortener&amp;url=https%3A%2F%2Fsw.wikipedia.org%2Fwiki%2FLua"><span>Pata URL iliyofupishwa</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Maalum:QrCode&amp;url=https%3A%2F%2Fsw.wikipedia.org%2Fwiki%2FLua"><span>Pakua msimbo wa QR</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Chapa/peleka nje </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Maalum:Kusanya&amp;bookcmd=book_creator&amp;referer=Lua"><span>Tunga kitabu</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Maalum:DownloadAsPdf&amp;page=Lua&amp;action=show-download-screen"><span>Pakua kama PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Lua&amp;printable=yes" title="Toleo linalochapika la ukurasa huu [p]" accesskey="p"><span>Ukurasa wa kuchapika</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> Miradi mingine </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:Lua_(programming_language)" hreflang="en"><span>Wikimedia Commons</span></a></li><li class="wb-otherproject-link wb-otherproject-mediawiki mw-list-item"><a href="https://www.mediawiki.org/wiki/Lua" hreflang="en"><span>MediaWiki</span></a></li><li class="wb-otherproject-link wb-otherproject-meta mw-list-item"><a href="https://meta.wikimedia.org/wiki/Lua" hreflang="en"><span>Meta-Wiki</span></a></li><li class="wb-otherproject-link wb-otherproject-wikifunctions mw-list-item"><a href="https://www.wikifunctions.org/wiki/Z620" hreflang="en"><span>Wikifunctions</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q207316" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata kifungu</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Zana za ukurasa"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Mandhari"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Mandhari</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">hamishia kwenye mwambaa upande</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">ficha</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">Kutoka Wikipedia, kamusi elezo huru</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="sw" dir="ltr"><table class="infobox" style="font-size:90%;text-align:left;width:24em;"> <tbody><tr style="background:LightBlue;"> <th colspan="2" style="font-size:larger;text-align:center;">Lua </th></tr> <tr> <th colspan="2" style="text-align:center;background:Picha ya Lua;padding:0.5em;"><span typeof="mw:File"><a href="/wiki/Faili:Lua-Logo.svg" class="mw-file-description" title="Lua-logo-nolabel"><img alt="Lua-logo-nolabel" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/250px-Lua-Logo.svg.png" decoding="async" width="250" height="250" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/375px-Lua-Logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/500px-Lua-Logo.svg.png 2x" data-file-width="947" data-file-height="947" /></a></span> </th></tr> <tr> <th><span style="white-space:nowrap;">Shina la studio</span> </th> <td>namna&#160;: inaozingatiwa kuhusu kipengee <p>namna nyingi </p><p>namna ya utaratibu </p> </td></tr> <tr> <th>Imeanzishwa </th> <td><a href="/wiki/Januari_1" class="mw-redirect" title="Januari 1">Januari 1</a> <a href="/wiki/1993" title="1993">1993</a><span style="display:none"> (<span class="bday">1993-01-01</span>)</span><span class="noprint"> (umri&#160;31)</span> </td></tr> <tr> <th>Mwanzilishi </th> <td>Roberto Ierusalimschy, Luiz Henrique de Figueiredo na Waldemar Celes </td></tr> <tr> <th>Ilivyo sasa </th> <td>Ilivutwa na: C++, CLU, Modula, Scheme, SNOBOL <p>Ilivuta: GameMonkey, Io, JavaScript, Julia, MiniD, Red, Ring, Ruby, Squirrel, MoonScript, C--Seed7 </p> </td></tr> <tr> <th>Mahala </th> <td>MIT License </td></tr> <tr> <th><span style="white-space:nowrap;">Tovuti</span> </th> <td><a rel="nofollow" class="external free" href="https://www.lua.org">https://www.lua.org</a> </td></tr> </tbody></table> <p><b>Lua</b> ni <a href="/wiki/Lugha_ya_programu" title="Lugha ya programu">lugha ya programu</a>. Iliundwa na Roberto Ierusalimschy, Luiz Henrique de Figueiredo na Waldemar Celes na ilianzishwa <a href="/wiki/Tarehe" title="Tarehe">tarehe</a> <a href="/wiki/1_Januari" title="1 Januari">1 Januari</a> <a href="/wiki/1993" title="1993">1993</a>. Iliundwa ili kuumba <a href="/wiki/Mfumo_wa_uendeshaji" title="Mfumo wa uendeshaji">mifumo ya uendeshaji</a> na <a href="/wiki/Mchezo_wa_video" title="Mchezo wa video">michezo ya video</a>. Leo tunatumia Lua 5.3.5 . Ilivutwa na <a href="/wiki/C%2B%2B" title="C++">C++</a>. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Historia">Historia</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;veaction=edit&amp;section=1" title="Hariri sehemu: Historia" class="mw-editsection-visualeditor"><span>hariri</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=1" title="Edit section&#039;s source code: Historia"><span>hariri chanzo</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Ilianzishwa mwaka wa 1993 nchini <a href="/wiki/Brazil" title="Brazil">Brazil</a>. Lakini Roberto Ierusalimschy, Luiz Henrique de Figueiredo na Waldemar Celes walianza kufanya kazi kuhusu Lua mwaka wa <a href="/wiki/1992" title="1992">1992</a>. </p> <div class="mw-heading mw-heading2"><h2 id="Falsafa">Falsafa</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;veaction=edit&amp;section=2" title="Hariri sehemu: Falsafa" class="mw-editsection-visualeditor"><span>hariri</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=2" title="Edit section&#039;s source code: Falsafa"><span>hariri chanzo</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Namna ya Lua ni ile inayozingatiwa kuhusu kipengee, namna nyingi na ya utaratibu. </p> <div class="mw-heading mw-heading2"><h2 id="Sintaksia">Sintaksia</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;veaction=edit&amp;section=3" title="Hariri sehemu: Sintaksia" class="mw-editsection-visualeditor"><span>hariri</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=3" title="Edit section&#039;s source code: Sintaksia"><span>hariri chanzo</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Sintaksia" class="mw-redirect" title="Sintaksia">Sintaksia</a> ya Lua ni rahisi sana; inafananishwa na lugha za programu nyingine kama <a href="/wiki/C" title="C">C#</a>, <a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a> au <a href="/wiki/Java_(lugha_ya_programu)" title="Java (lugha ya programu)">Java</a>. Ilivutwa na sintaksia ya Modula, lugha ya programu nyingine. </p> <div class="mw-heading mw-heading2"><h2 id="Mifano_ya_Lua">Mifano ya Lua</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;veaction=edit&amp;section=4" title="Hariri sehemu: Mifano ya Lua" class="mw-editsection-visualeditor"><span>hariri</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=4" title="Edit section&#039;s source code: Mifano ya Lua"><span>hariri chanzo</span></a><span class="mw-editsection-bracket">]</span></span></div><p> Programu kwa kuchapa «&#160;Jambo ulimwengu&#160;!».</p><div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Jambo ulimwengu&#160;!&quot;</span><span class="p">)</span> </pre></div><p>Programu kwa kuhesabu factoria ya nambari moja.</p><div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="kr">function</span> <span class="nf">factorial</span><span class="p">(</span><span class="n">n</span><span class="p">)</span> <span class="kd">local</span> <span class="n">x</span> <span class="o">=</span> <span class="mi">1</span> <span class="kr">for</span> <span class="n">i</span> <span class="o">=</span> <span class="mi">2</span><span class="p">,</span> <span class="n">n</span> <span class="kr">do</span> <span class="n">x</span> <span class="o">=</span> <span class="n">x</span> <span class="o">*</span> <span class="n">i</span> <span class="kr">end</span> <span class="kr">return</span> <span class="n">x</span> <span class="kr">end</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Marejeo">Marejeo</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;veaction=edit&amp;section=5" title="Hariri sehemu: Marejeo" class="mw-editsection-visualeditor"><span>hariri</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=5" title="Edit section&#039;s source code: Marejeo"><span>hariri chanzo</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li>Ierusalimschy, R. (2013). Programming in Lua (3rd ed.). Lua.org. <a href="/wiki/Maalum:ZuiaChanzo/9788590379850" class="internal mw-magiclink-isbn">ISBN 978-85-903798-5-0</a>. (The 1st ed. is available online.)</li> <li>Gutschmidt, T. (2003). Game Programming with Python, Lua, and Ruby. Course Technology PTR. <a href="/wiki/Maalum:ZuiaChanzo/9781592000777" class="internal mw-magiclink-isbn">ISBN 978-1-59200-077-7</a>.</li> <li>Schuytema, P.; Manyen, M. (2005). Game Development with Lua. Charles River Media. <a href="/wiki/Maalum:ZuiaChanzo/9781584504047" class="internal mw-magiclink-isbn">ISBN 978-1-58450-404-7</a>.</li> <li>Jung, K.; Brown, A. (2007). Beginning Lua Programming. Wrox Press. <a href="/wiki/Maalum:ZuiaChanzo/9780470069172" class="internal mw-magiclink-isbn">ISBN 978-0-470-06917-2</a>. Archived from the original on 8 July 2018. Retrieved 7 July 2018.</li> <li>Figueiredo, L. H.; Celes, W.; Ierusalimschy, R., eds. (2008). Lua Programming Gems. Lua.org. <a href="/wiki/Maalum:ZuiaChanzo/9788590379843" class="internal mw-magiclink-isbn">ISBN 978-85-903798-4-3</a>.</li></ul> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐68db4b6789‐mb9ln Cached time: 20241126002159 Cache expiry: 85096 Reduced expiry: true Complications: [show‐toc] CPU time usage: 0.039 seconds Real time usage: 0.366 seconds Preprocessor visited node count: 206/1000000 Post‐expand include size: 1913/2097152 bytes Template argument size: 1047/2097152 bytes Highest expansion depth: 15/100 Expensive parser function count: 2/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 1107/5000000 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 17.617 1 Kigezo:Infobox_record_label 100.00% 17.617 1 -total 76.93% 13.552 1 Kigezo:Birth_date_and_age 36.62% 6.451 1 Kigezo:MONTHNAME 18.06% 3.182 1 Kigezo:MONTHNUMBER 16.43% 2.894 1 Kigezo:Umri --> <!-- Saved in parser cache with key swwiki:pcache:idhash:121301-0!canonical and timestamp 20241126002159 and revision id 1274971. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Rudishwa kutoka "<a dir="ltr" href="https://sw.wikipedia.org/w/index.php?title=Lua&amp;oldid=1274971">https://sw.wikipedia.org/w/index.php?title=Lua&amp;oldid=1274971</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Maalum:Jamii" title="Maalum:Jamii">Jamii</a>: <ul><li><a href="/wiki/Jamii:Kompyuta" title="Jamii:Kompyuta">Kompyuta</a></li><li><a href="/wiki/Jamii:Lugha_za_programu" title="Jamii:Lugha za programu">Lugha za programu</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Jamii iliofichwa: <ul><li><a href="/wiki/Jamii:Pages_using_ISBN_magic_links" title="Jamii:Pages using ISBN magic links">Pages using ISBN magic links</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> Ukurasa huu umebadilishwa kwa mara ya mwisho tarehe 30 Machi 2023, saa 19:14.</li> <li id="footer-info-copyright">Maandishi yanapatikana chini ya leseni ya <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike License</a>; matakwa mengine yanaweza kutakiwa. Tazama maelezo zaidi ya <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Matakwa ya Utumiaji</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Sera ya faragha</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:Kuhusu">Kuhusu Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:Kanusho_kwa_jumla">Kanusho</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Waunzi programu</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/sw.wikipedia.org">takwimu</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Maelezo ya kuki</a></li> <li id="footer-places-mobileview"><a href="//sw.m.wikipedia.org/w/index.php?title=Lua&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mtazamo wa rununu</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-694cf4987f-lrw9j","wgBackendResponseTime":134,"wgPageParseReport":{"limitreport":{"cputime":"0.039","walltime":"0.366","ppvisitednodes":{"value":206,"limit":1000000},"postexpandincludesize":{"value":1913,"limit":2097152},"templateargumentsize":{"value":1047,"limit":2097152},"expansiondepth":{"value":15,"limit":100},"expensivefunctioncount":{"value":2,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":1107,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 17.617 1 Kigezo:Infobox_record_label","100.00% 17.617 1 -total"," 76.93% 13.552 1 Kigezo:Birth_date_and_age"," 36.62% 6.451 1 Kigezo:MONTHNAME"," 18.06% 3.182 1 Kigezo:MONTHNUMBER"," 16.43% 2.894 1 Kigezo:Umri"]},"cachereport":{"origin":"mw-web.eqiad.main-68db4b6789-mb9ln","timestamp":"20241126002159","ttl":85096,"transientcontent":true}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Lua","url":"https:\/\/sw.wikipedia.org\/wiki\/Lua","sameAs":"http:\/\/www.wikidata.org\/entity\/Q207316","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q207316","author":{"@type":"Organization","name":"Uchangiaji katika miradi ya Wikimedia"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2020-02-13T23:03:15Z","dateModified":"2023-03-30T19:14:58Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/c\/cf\/Lua-Logo.svg"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10