CINXE.COM

Lua - Viquipèdia, l'enciclopèdia lliure

<!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-enabled skin-theme-clientpref-day vector-toc-available" lang="ca" dir="ltr"> <head> <meta charset="UTF-8"> <title>Lua - Viquipèdia, l'enciclopèdia lliure</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-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )cawikimwclientpreferences=([^;]+)/);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":[",\t.",".\t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],"wgRequestId":"cef4baab-e653-402e-9d46-e19ebe2f3cb5","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Lua","wgTitle":"Lua","wgCurRevisionId":30346078,"wgRevisionId":30346078,"wgArticleId":563020,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Articles sense referències","Articles amb redacció per millorar","Pàgines amb etiquetes de Wikidata sense traducció","Pàgines amb enllaç commonscat des de Wikidata","Articles amb la plantilla Webarchive amb enllaç wayback","Control d'autoritats","Llenguatges de programació","Programari lliure escrit en C"],"wgPageViewLanguage":"ca","wgPageContentLanguage":"ca","wgPageContentModel":"wikitext","wgRelevantPageName":"Lua","wgRelevantArticleId":563020,"wgIsProbablyEditable":true, "wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"ca","pageLanguageDir":"ltr","pageVariantFallbacks":"ca"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":6000,"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","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","wikibase.client.data-bridge.externalModifiers":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.UkensKonkurranse","ext.gadget.refToolbar","ext.gadget.charinsert","ext.gadget.AltresViccionari","ext.gadget.purgetab","ext.gadget.DocTabs","ext.gadget.switcher","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","wikibase.client.data-bridge.init","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","oojs-ui.styles.icons-media","oojs-ui-core.icons","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=ca&amp;modules=ext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.data-bridge.externalModifiers%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=ca&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=ca&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 - Viquipèdia, l&#039;enciclopèdia lliure"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//ca.m.wikipedia.org/wiki/Lua"> <link rel="alternate" type="application/x-wiki" title="Modifica" 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="Viquipèdia (ca)"> <link rel="EditURI" type="application/rsd+xml" href="//ca.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://ca.wikipedia.org/wiki/Lua"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.ca"> <link rel="alternate" type="application/atom+xml" title="Canal de sindicació Atom Viquipèdia" href="/w/index.php?title=Especial:Canvis_recents&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">Vés al contingut</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="Lloc"> <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="Menú principal" > <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">Menú principal</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">Menú principal</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">amaga</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navegació </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Portada" title="Visiteu la pàgina principal [z]" accesskey="z"><span>Portada</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Especial:Article_aleatori" title="Carrega una pàgina a l’atzar [x]" accesskey="x"><span>Article a l'atzar</span></a></li><li id="n-Articles-de-qualitat" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Articles_de_qualitat"><span>Articles de qualitat</span></a></li> </ul> </div> </div> <div id="p-Comunitat" class="vector-menu mw-portlet mw-portlet-Comunitat" > <div class="vector-menu-heading"> Comunitat </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Portal" title="Sobre el projecte, què podeu fer, on trobareu les coses"><span>Portal viquipedista</span></a></li><li id="n-Agenda-d&#039;actes" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Trobades"><span>Agenda d'actes</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Especial:Canvis_recents" title="Una llista dels canvis recents al wiki [r]" accesskey="r"><span>Canvis recents</span></a></li><li id="n-La-taverna" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:La_taverna"><span>La taverna</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Contacte"><span>Contacte</span></a></li><li id="n-Xat" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Canals_IRC"><span>Xat</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Viquip%C3%A8dia:Ajuda" title="El lloc per a saber més coses"><span>Ajuda</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Portada" 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="Viquipèdia" src="/static/images/mobile/copyright/wikipedia-wordmark-ca.svg" style="width: 7.5em; height: 1.4375em;"> <img class="mw-logo-tagline" alt="l&#039;Enciclopèdia Lliure" src="/static/images/mobile/copyright/wikipedia-tagline-ca.svg" width="120" height="14" style="width: 7.5em; height: 0.875em;"> </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/Especial:Cerca" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Cerca a la Viquipèdia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Cerca</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="Cerca a Viquipèdia" aria-label="Cerca a Viquipèdia" autocapitalize="sentences" title="Cerca a la Viquipèdia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Especial:Cerca"> </div> <button class="cdx-button cdx-search-input__end-button">Cerca</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Eines personals"> <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="Aparença"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <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="Aparença" > <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">Aparença</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_ca.wikipedia.org&amp;uselang=ca" class=""><span>Donatius</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=Especial:Crea_compte&amp;returnto=Lua" title="Us animem a crear un compte i iniciar una sessió, encara que no és obligatori" class=""><span>Crea un compte</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=Especial:Registre_i_entrada&amp;returnto=Lua" title="Us animem a registrar-vos, però no és obligatori [o]" accesskey="o" class=""><span>Inicia la sessió</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" title="Més opcions" > <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="Eines personals" > <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">Eines personals</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menú d&#039;usuari" > <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_ca.wikipedia.org&amp;uselang=ca"><span>Donatius</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Especial:Crea_compte&amp;returnto=Lua" title="Us animem a crear un compte i iniciar una sessió, encara que no és obligatori"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Crea un compte</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Especial:Registre_i_entrada&amp;returnto=Lua" title="Us animem a registrar-vos, però no és obligatori [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Inicia la sessió</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pàgines per a editors no registrats <a href="/wiki/Ajuda:Introducci%C3%B3" aria-label="Vegeu més informació sobre l&#039;edició"><span>més informació</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Especial:Contribucions_pr%C3%B2pies" title="Una llista de les modificacions fetes des d&#039;aquesta adreça IP [y]" accesskey="y"><span>Contribucions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Especial:Discussi%C3%B3_personal" title="Discussió sobre les edicions per aquesta adreça ip. [n]" accesskey="n"><span>Discussió per aquest IP</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="Lloc"> <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="Contingut" 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">Contingut</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">amaga</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">Inici</div> </a> </li> <li id="toc-Història" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Història"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Història</span> </div> </a> <ul id="toc-Història-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Característiques" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Característiques"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Característiques</span> </div> </a> <button aria-controls="toc-Característiques-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Commuta la subsecció Característiques</span> </button> <ul id="toc-Característiques-sublist" class="vector-toc-list"> <li id="toc-Tipus_de_dades" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Tipus_de_dades"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Tipus de dades</span> </div> </a> <ul id="toc-Tipus_de_dades-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Aplicacions" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Aplicacions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Aplicacions</span> </div> </a> <button aria-controls="toc-Aplicacions-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Commuta la subsecció Aplicacions</span> </button> <ul id="toc-Aplicacions-sublist" class="vector-toc-list"> <li id="toc-Jocs" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Jocs"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>Jocs</span> </div> </a> <ul id="toc-Jocs-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Altres_aplicacions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Altres_aplicacions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>Altres aplicacions</span> </div> </a> <ul id="toc-Altres_aplicacions-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Enllaços_externs" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Enllaços_externs"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Enllaços externs</span> </div> </a> <ul id="toc-Enllaços_externs-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="Contingut" 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="Commuta la taula de continguts." > <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">Commuta la taula de continguts.</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="Vés a un article en una altra llengua. Disponible en 71 llengües" > <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">71 llengües</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="لوا (لغة برمجة) - àrab" lang="ar" hreflang="ar" data-title="لوا (لغة برمجة)" data-language-autonym="العربية" data-language-local-name="àrab" 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 - azerbaidjanès" lang="az" hreflang="az" data-title="Lua" data-language-autonym="Azərbaycanca" data-language-local-name="azerbaidjanès" 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 (мова праграмавання) - belarús" lang="be" hreflang="be" data-title="Lua (мова праграмавання)" data-language-autonym="Беларуская" data-language-local-name="belarús" 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 - búlgar" lang="bg" hreflang="bg" data-title="Lua" data-language-autonym="Български" data-language-local-name="búlgar" 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="লুয়া (প্রোগ্রামিং ভাষা) - bengalí" lang="bn" hreflang="bn" data-title="লুয়া (প্রোগ্রামিং ভাষা)" data-language-autonym="বাংলা" data-language-local-name="bengalí" 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) - bosnià" lang="bs" hreflang="bs" data-title="Lua (programski jezik)" data-language-autonym="Bosanski" data-language-local-name="bosnià" class="interlanguage-link-target"><span>Bosanski</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="لوا (زمانی پرۆگرامسازی) - kurd central" lang="ckb" hreflang="ckb" data-title="لوا (زمانی پرۆگرامسازی)" data-language-autonym="کوردی" data-language-local-name="kurd central" 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 - txec" lang="cs" hreflang="cs" data-title="Lua" data-language-autonym="Čeština" data-language-local-name="txec" 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) - danès" lang="da" hreflang="da" data-title="Lua (programmeringssprog)" data-language-autonym="Dansk" data-language-local-name="danès" 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 - alemany" lang="de" hreflang="de" data-title="Lua" data-language-autonym="Deutsch" data-language-local-name="alemany" 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 - grec" lang="el" hreflang="el" data-title="Lua" data-language-autonym="Ελληνικά" data-language-local-name="grec" 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) - anglès" lang="en" hreflang="en" data-title="Lua (programming language)" data-language-autonym="English" data-language-local-name="anglès" 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 - esperanto" lang="eo" hreflang="eo" data-title="Lua" data-language-autonym="Esperanto" data-language-local-name="esperanto" 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 - espanyol" lang="es" hreflang="es" data-title="Lua" data-language-autonym="Español" data-language-local-name="espanyol" 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 - estonià" lang="et" hreflang="et" data-title="Lua" data-language-autonym="Eesti" data-language-local-name="estonià" 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) - basc" lang="eu" hreflang="eu" data-title="Lua (programazio lengoaia)" data-language-autonym="Euskara" data-language-local-name="basc" 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="لوآ (زبان برنامه‌نویسی) - persa" lang="fa" hreflang="fa" data-title="لوآ (زبان برنامه‌نویسی)" data-language-autonym="فارسی" data-language-local-name="persa" 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 - finès" lang="fi" hreflang="fi" data-title="Lua" data-language-autonym="Suomi" data-language-local-name="finès" 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 - francès" lang="fr" hreflang="fr" data-title="Lua" data-language-autonym="Français" data-language-local-name="francès" 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) - gallec" lang="gl" hreflang="gl" data-title="Lua (linguaxe de programación)" data-language-autonym="Galego" data-language-local-name="gallec" 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="לואה (שפת תכנות) - hebreu" lang="he" hreflang="he" data-title="לואה (שפת תכנות)" data-language-autonym="עברית" data-language-local-name="hebreu" 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="लुआ (प्रोग्रामन भाषा) - hindi" lang="hi" hreflang="hi" data-title="लुआ (प्रोग्रामन भाषा)" data-language-autonym="हिन्दी" data-language-local-name="hindi" 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 - croat" lang="hr" hreflang="hr" data-title="Lua" data-language-autonym="Hrvatski" data-language-local-name="croat" 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) - hongarès" lang="hu" hreflang="hu" data-title="Lua (programozási nyelv)" data-language-autonym="Magyar" data-language-local-name="hongarès" 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 (ծրագրավորման լեզու) - armeni" lang="hy" hreflang="hy" data-title="Lua (ծրագրավորման լեզու)" data-language-autonym="Հայերեն" data-language-local-name="armeni" 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) - interlingua" lang="ia" hreflang="ia" data-title="Lua (linguage de programmation)" data-language-autonym="Interlingua" data-language-local-name="interlingua" 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) - indonesi" lang="id" hreflang="id" data-title="Lua (bahasa pemrograman)" data-language-autonym="Bahasa Indonesia" data-language-local-name="indonesi" 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) - ido" lang="io" hreflang="io" data-title="Lua (programifo-linguo)" data-language-autonym="Ido" data-language-local-name="ido" 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) - islandès" lang="is" hreflang="is" data-title="Lua (forritunarmál)" data-language-autonym="Íslenska" data-language-local-name="islandès" 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 - italià" lang="it" hreflang="it" data-title="Lua" data-language-autonym="Italiano" data-language-local-name="italià" 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 - japonès" lang="ja" hreflang="ja" data-title="Lua" data-language-autonym="日本語" data-language-local-name="japonès" 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="ლუა - georgià" lang="ka" hreflang="ka" data-title="ლუა" data-language-autonym="ქართული" data-language-local-name="georgià" 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 - khmer" lang="km" hreflang="km" data-title="ភាសាកម្មវិធី Lua" data-language-autonym="ភាសាខ្មែរ" data-language-local-name="khmer" 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="루아 (프로그래밍 언어) - coreà" lang="ko" hreflang="ko" data-title="루아 (프로그래밍 언어)" data-language-autonym="한국어" data-language-local-name="coreà" 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) - llatí" lang="la" hreflang="la" data-title="Lua (lingua programmandi)" data-language-autonym="Latina" data-language-local-name="llatí" 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 - letó" lang="lv" hreflang="lv" data-title="Lua" data-language-autonym="Latviešu" data-language-local-name="letó" 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="ലൂഅ (പ്രോഗ്രാമിംഗ് ഭാഷ) - malaiàlam" lang="ml" hreflang="ml" data-title="ലൂഅ (പ്രോഗ്രാമിംഗ് ഭാഷ)" data-language-autonym="മലയാളം" data-language-local-name="malaiàlam" 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) - malai" lang="ms" hreflang="ms" data-title="Lua (bahasa pengaturcaraan)" data-language-autonym="Bahasa Melayu" data-language-local-name="malai" 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) - neerlandès" lang="nl" hreflang="nl" data-title="Lua (programmeertaal)" data-language-autonym="Nederlands" data-language-local-name="neerlandès" 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 - noruec bokmål" lang="nb" hreflang="nb" data-title="Lua" data-language-autonym="Norsk bokmål" data-language-local-name="noruec bokmål" 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="ଲୁଆ (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା) - oriya" lang="or" hreflang="or" data-title="ଲୁଆ (ପ୍ରୋଗ୍ରାମିଂ ଭାଷା)" data-language-autonym="ଓଡ଼ିଆ" data-language-local-name="oriya" 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="ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ) - panjabi" lang="pa" hreflang="pa" data-title="ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="panjabi" 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 - polonès" lang="pl" hreflang="pl" data-title="Lua" data-language-autonym="Polski" data-language-local-name="polonès" 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) - portuguès" lang="pt" hreflang="pt" data-title="Lua (linguagem de programação)" data-language-autonym="Português" data-language-local-name="portuguès" 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) - quítxua" lang="qu" hreflang="qu" data-title="Lua (wakichiy simi)" data-language-autonym="Runa Simi" data-language-local-name="quítxua" 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) - romanès" lang="ro" hreflang="ro" data-title="Lua (limbaj de programare)" data-language-autonym="Română" data-language-local-name="romanès" 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 - rus" lang="ru" hreflang="ru" data-title="Lua" data-language-autonym="Русский" data-language-local-name="rus" 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="ලුවා (ක්‍රමලේඛන භාෂාව) - singalès" lang="si" hreflang="si" data-title="ලුවා (ක්‍රමලේඛන භාෂාව)" data-language-autonym="සිංහල" data-language-local-name="singalès" 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 - eslovac" lang="sk" hreflang="sk" data-title="Lua" data-language-autonym="Slovenčina" data-language-local-name="eslovac" 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) - eslovè" lang="sl" hreflang="sl" data-title="Lua (programski jezik)" data-language-autonym="Slovenščina" data-language-local-name="eslovè" 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 - somali" lang="so" hreflang="so" data-title="Lua" data-language-autonym="Soomaaliga" data-language-local-name="somali" 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 - albanès" lang="sq" hreflang="sq" data-title="Lua" data-language-autonym="Shqip" data-language-local-name="albanès" 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) - serbi" lang="sr" hreflang="sr" data-title="Lua (programski jezik)" data-language-autonym="Српски / srpski" data-language-local-name="serbi" 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 - suec" lang="sv" hreflang="sv" data-title="Lua" data-language-autonym="Svenska" data-language-local-name="suec" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-sw mw-list-item"><a href="https://sw.wikipedia.org/wiki/Lua" title="Lua - suahili" lang="sw" hreflang="sw" data-title="Lua" data-language-autonym="Kiswahili" data-language-local-name="suahili" class="interlanguage-link-target"><span>Kiswahili</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="லூவா - tàmil" lang="ta" hreflang="ta" data-title="லூவா" data-language-autonym="தமிழ்" data-language-local-name="tàmil" 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 - tadjik" lang="tg" hreflang="tg" data-title="Lua" data-language-autonym="Тоҷикӣ" data-language-local-name="tadjik" 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="ภาษาลูอา - tai" lang="th" hreflang="th" data-title="ภาษาลูอา" data-language-autonym="ไทย" data-language-local-name="tai" 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 - turc" lang="tr" hreflang="tr" data-title="Lua" data-language-autonym="Türkçe" data-language-local-name="turc" 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 - udmurt" lang="udm" hreflang="udm" data-title="Lua" data-language-autonym="Удмурт" data-language-local-name="udmurt" 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 - ucraïnès" lang="uk" hreflang="uk" data-title="Lua" data-language-autonym="Українська" data-language-local-name="ucraïnès" 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="لوا (پروگرامنگ زبان) - urdú" lang="ur" hreflang="ur" data-title="لوا (پروگرامنگ زبان)" data-language-autonym="اردو" data-language-local-name="urdú" 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 - vietnamita" lang="vi" hreflang="vi" data-title="Lua" data-language-autonym="Tiếng Việt" data-language-local-name="vietnamita" 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 - xinès wu" lang="wuu" hreflang="wuu" data-title="Lua" data-language-autonym="吴语" data-language-local-name="xinès 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 - xinès" lang="zh" hreflang="zh" data-title="Lua" data-language-autonym="中文" data-language-local-name="xinès" 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 - xinès min del sud" lang="nan" hreflang="nan" data-title="Lua" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="xinès min del sud" 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 - cantonès" lang="yue" hreflang="yue" data-title="Lua" data-language-autonym="粵語" data-language-local-name="cantonès" 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="Modifica enllaços interlingües" class="wbc-editpage">Modifica els enllaços</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="Espais de noms"> <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="Vegeu el contingut de la pàgina [c]" accesskey="c"><span>Pàgina</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Discussi%C3%B3:Lua&amp;action=edit&amp;redlink=1" rel="discussion" class="new" title="Discussió sobre el contingut d&#039;aquesta pàgina (encara no existeix) [t]" accesskey="t"><span>Discussió</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="Canvia la variant de llengua" > <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">català</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="Vistes"> <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>Mostra</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Lua&amp;action=edit" title="Modifica el codi font d&#039;aquesta pàgina [e]" accesskey="e"><span>Modifica</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="Versions antigues d&#039;aquesta pàgina [h]" accesskey="h"><span>Mostra l'historial</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Eines de la pàgina"> <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="Eines" > <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">Eines</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">Eines</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">amaga</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Més opcions" > <div class="vector-menu-heading"> Accions </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>Mostra</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Lua&amp;action=edit" title="Modifica el codi font d&#039;aquesta pàgina [e]" accesskey="e"><span>Modifica</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>Mostra l'historial</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Especial:Enlla%C3%A7os/Lua" title="Una llista de totes les pàgines wiki que enllacen amb aquesta [j]" accesskey="j"><span>Què hi enllaça</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Especial:Seguiment/Lua" rel="nofollow" title="Canvis recents a pàgines enllaçades des d&#039;aquesta pàgina [k]" accesskey="k"><span>Canvis relacionats</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Especial:P%C3%A0gines_especials" title="Llista totes les pàgines especials [q]" accesskey="q"><span>Pàgines especials</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Lua&amp;oldid=30346078" title="Enllaç permanent a aquesta revisió de la pàgina"><span>Enllaç permanent</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Lua&amp;action=info" title="Més informació sobre aquesta pàgina"><span>Informació de la pàgina</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Especial:Citau&amp;page=Lua&amp;id=30346078&amp;wpFormIdentifier=titleform" title="Informació sobre com citar aquesta pàgina"><span>Citau aquest article</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Especial:UrlShortener&amp;url=https%3A%2F%2Fca.wikipedia.org%2Fwiki%2FLua"><span>Obtén una URL abreujada</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Especial:QrCode&amp;url=https%3A%2F%2Fca.wikipedia.org%2Fwiki%2FLua"><span>Descarrega el codi 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"> Imprimeix/exporta </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=Especial:Llibre&amp;bookcmd=book_creator&amp;referer=Lua"><span>Crea un llibre</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Especial:DownloadAsPdf&amp;page=Lua&amp;action=show-download-screen"><span>Baixa com a PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Lua&amp;printable=yes" title="Versió per a impressió d&#039;aquesta pàgina [p]" accesskey="p"><span>Versió per a impressora</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"> En altres projectes </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>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="Enllaç a l&#039;element del repositori de dades connectat [g]" accesskey="g"><span>Element a Wikidata</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="Eines de la pàgina"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Aparença"> <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">Aparença</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">mou a la barra lateral</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">amaga</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">De la Viquipèdia, l&#039;enciclopèdia lliure</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="ca" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r34261971">.mw-parser-output .hatnote{width:100%;border-color:#77ccff;color:var(--color-base,#202122);background-color:#f5f5f5;margin-bottom:1em;font-style:italic}.mw-parser-output .hatnote i{font-style:normal}@media screen{html.skin-theme-clientpref-night .mw-parser-output .hatnote{color:var(--color-inverted,#fff);background-color:var(--background-color-inverted,#101418)}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .hatnote{color:var(--color-inverted,#fff);background-color:var(--background-color-inverted,#101418)}}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style> <table class="hatnote" cellspacing="5"> <tbody><tr> <td style="width: 25px; vertical-align: top;"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Disambig_grey.svg/22px-Disambig_grey.svg.png" decoding="async" width="22" height="17" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Disambig_grey.svg/33px-Disambig_grey.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Disambig_grey.svg/44px-Disambig_grey.svg.png 2x" data-file-width="260" data-file-height="200" /></span></span> </td> <td>Aquest article tracta sobre el llenguatge de programació. Si cerqueu la utilització de Lua a la Viquipèdia, vegeu «<a href="/wiki/Viquip%C3%A8dia:Lua" title="Viquipèdia:Lua">Viquipèdia:Lua</a>». </td></tr></tbody></table> <table class="plainlinks ambox ambox-content" style="" data-severity="2"> <tbody><tr> <td class="mbox-image" style="width: 52px;"> <span typeof="mw:File"><a href="/wiki/Fitxer:Crystal128-pipe.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Crystal128-pipe.svg/25px-Crystal128-pipe.svg.png" decoding="async" width="25" height="25" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Crystal128-pipe.svg/38px-Crystal128-pipe.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Crystal128-pipe.svg/50px-Crystal128-pipe.svg.png 2x" data-file-width="192" data-file-height="192" /></a></span></td> <td class="mbox-text" style=""> <div class="mbox-text-span">Aquest article o secció no <a href="/wiki/Viquip%C3%A8dia:Citau_les_fonts" title="Viquipèdia:Citau les fonts">cita les fonts</a> o necessita més referències per a la seva <a href="/wiki/VP:VER" class="mw-redirect" title="VP:VER">verificabilitat</a>.</div> </td> </tr> </tbody></table> <table class="plainlinks ambox ambox-style" style="" data-severity="1"> <tbody><tr> <td class="mbox-image" style="width: 52px;"> <span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Oxygen480-categories-applications-office.svg/40px-Oxygen480-categories-applications-office.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Oxygen480-categories-applications-office.svg/60px-Oxygen480-categories-applications-office.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/da/Oxygen480-categories-applications-office.svg/80px-Oxygen480-categories-applications-office.svg.png 2x" data-file-width="128" data-file-height="128" /></span></span></td> <td class="mbox-text" style=""> <div class="mbox-text-span"><b>L'article necessita algunes millores de <a href="/wiki/Viquip%C3%A8dia:Llibre_d%27estil" title="Viquipèdia:Llibre d&#39;estil">redacció</a>.</b><br /><span style="font-size:90%;" class="hide-when-compact">Hi ha fragments mal redactats.</span></div> </td> </tr> </tbody></table> <table class="infobox" style="font-size:90%;width:25em"><caption style="font-weight:bold;color: #202122; background-color: #b0d1ad;"><span style="float:left;"><span class="skin-invert" typeof="mw:File"><span title="Infotaula de llenguatge de programació"><img alt="Infotaula de llenguatge de programació" src="//upload.wikimedia.org/wikipedia/commons/thumb/3/30/High-contrast_utilities_console.svg/25px-High-contrast_utilities_console.svg.png" decoding="async" width="25" height="25" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/3/30/High-contrast_utilities_console.svg/38px-High-contrast_utilities_console.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/3/30/High-contrast_utilities_console.svg/50px-High-contrast_utilities_console.svg.png 2x" data-file-width="60" data-file-height="60" /></span></span></span>Lua</caption><tbody><tr><td colspan="2" class="infobox-full-data infobox-data" style="text-align:center"><span typeof="mw:File"><a href="/w/index.php?title=Fitxer:Lua-Logo.svg&amp;lang=ca" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/langca-150px-Lua-Logo.svg.png" decoding="async" width="150" height="150" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/langca-225px-Lua-Logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/langca-300px-Lua-Logo.svg.png 2x" data-file-width="947" data-file-height="947" /></a></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Tipus</th><td class="infobox-data"><a href="/wiki/Llenguatge_de_programaci%C3%B3" title="Llenguatge de programació">llenguatge de programació</a>, <a href="https://www.wikidata.org/wiki/Special:EntityPage/Q3839507" class="extiw" title="d:Special:EntityPage/Q3839507">llenguatge de programació funcional</a>, <a href="https://www.wikidata.org/wiki/Special:EntityPage/Q899523" class="extiw" title="d:Special:EntityPage/Q899523">llenguatge de programació orientat a objectes</a>, <a href="/wiki/Llenguatge_script" title="Llenguatge script">llenguatge script</a>, <a href="https://www.wikidata.org/wiki/Special:EntityPage/Q21562092" class="extiw" title="d:Special:EntityPage/Q21562092">llenguatge de programació imperatiu</a>, <a href="/wiki/Llenguatge_interpretat" title="Llenguatge interpretat">llenguatge interpretat</a>, <a href="/wiki/Llenguatge_de_programaci%C3%B3_compilat" title="Llenguatge de programació compilat">Llenguatge de programació compilat</a> i <a href="/wiki/Programari_lliure" title="Programari lliure">programari lliure</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P31" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Data de creació</th><td class="infobox-data">1993 <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P571" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Disseny</th><td class="infobox-data"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q1840472" class="extiw" title="d:Special:EntityPage/Q1840472">Roberto Ierusalimschy</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P287" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Desenvolupador</th><td class="infobox-data"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q1840472" class="extiw" title="d:Special:EntityPage/Q1840472">Roberto Ierusalimschy</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P178" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;"><a href="/wiki/Ep%C3%B2nim" title="Epònim">Epònim</a></th><td class="infobox-data"><a href="/wiki/Lluna" title="Lluna">Lluna</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P138" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Paradigma de programació</th><td class="infobox-data"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q4306983" class="extiw" title="d:Special:EntityPage/Q4306983">programació multiparadigma</a>, <a href="/wiki/Programaci%C3%B3_orientada_a_objectes" title="Programació orientada a objectes">programació orientada a objectes</a>, <a href="/wiki/Programaci%C3%B3_funcional" title="Programació funcional">programació funcional</a>, <a href="/wiki/Programaci%C3%B3_procedimental" title="Programació procedimental">programació procedimental</a>, <a href="/wiki/Programaci%C3%B3_basada_en_prototips" title="Programació basada en prototips">Programació basada en prototips</a> i <a href="/wiki/Programaci%C3%B3_imperativa" title="Programació imperativa">llenguatge imperatiu</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P3966" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Darrera versió estable</th><td class="infobox-data">5.4.7 () <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P348" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Llenguatge de programació</th><td class="infobox-data"><a href="/wiki/Llenguatge_C" title="Llenguatge C">C</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P277" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Influenciat per</th><td class="infobox-data"><a href="/wiki/C%2B%2B" title="C++">C++</a>, <a href="https://www.wikidata.org/wiki/Special:EntityPage/Q775159" class="extiw" title="d:Special:EntityPage/Q775159">CLU</a>, <a href="https://www.wikidata.org/wiki/Special:EntityPage/Q15712808" class="extiw" title="d:Special:EntityPage/Q15712808">Simple Object Language</a> <sup>(en)</sup> <span class="mw-valign-baseline skin-invert" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q15712808?uselang=ca" title="Tradueix"><img alt="Tradueix" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/70/Noun_Project_label_icon_1116097_cc_mirror.svg/10px-Noun_Project_label_icon_1116097_cc_mirror.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/70/Noun_Project_label_icon_1116097_cc_mirror.svg/15px-Noun_Project_label_icon_1116097_cc_mirror.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/70/Noun_Project_label_icon_1116097_cc_mirror.svg/20px-Noun_Project_label_icon_1116097_cc_mirror.svg.png 2x" data-file-width="158" data-file-height="161" /></a></span>, <a href="https://www.wikidata.org/wiki/Special:EntityPage/Q15712810" class="extiw" title="d:Special:EntityPage/Q15712810">DEL</a> <sup>(en)</sup> <span class="mw-valign-baseline skin-invert" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q15712810?uselang=ca" title="Tradueix"><img alt="Tradueix" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/70/Noun_Project_label_icon_1116097_cc_mirror.svg/10px-Noun_Project_label_icon_1116097_cc_mirror.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/70/Noun_Project_label_icon_1116097_cc_mirror.svg/15px-Noun_Project_label_icon_1116097_cc_mirror.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/70/Noun_Project_label_icon_1116097_cc_mirror.svg/20px-Noun_Project_label_icon_1116097_cc_mirror.svg.png 2x" data-file-width="158" data-file-height="161" /></a></span>, <a href="/wiki/Snobol" title="Snobol">Snobol</a>, <a href="https://www.wikidata.org/wiki/Special:EntityPage/Q2428476" class="extiw" title="d:Special:EntityPage/Q2428476">Modula</a>, <a href="https://www.wikidata.org/wiki/Special:EntityPage/Q777358" class="extiw" title="d:Special:EntityPage/Q777358">Modula-2</a> i <a href="/wiki/Scheme" title="Scheme">Scheme</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P737" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Sistema operatiu</th><td class="infobox-data"><a href="/wiki/Multiplataforma" title="Multiplataforma">multiplataforma</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P306" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Extensió dels fitxers</th><td class="infobox-data">lua, luna, lunaire i anair <span class="penicon" data-bridge-edit-flow="single-best-value"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P1195" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Codi font</th><td class="infobox-data"><a rel="nofollow" class="external text" href="https://github.com/lua/lua">Codi font</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P1324" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Llicència</th><td class="infobox-data"><a href="/wiki/Llic%C3%A8ncia_X11" title="Llicència X11">llicència MIT</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P275" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Etiqueta d'Stack Exchange</th><td class="infobox-data"><a rel="nofollow" class="external text" href="https://stackoverflow.com/tags/lua-5.3">Etiqueta</a> i <a rel="nofollow" class="external text" href="https://stackoverflow.com/tags/lua">Etiqueta</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P1482" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr><tr><th scope="row" class="infobox-label" style="text-align:left;color: #202122; background-color: #eeeeee; white-space: nowrap;">Pàgina web</th><td class="infobox-data"><a rel="nofollow" class="external text" href="https://www.lua.org/">lua.org</a> <span class="penicon"><span class="mw-valign-baseline" typeof="mw:File"><a href="https://www.wikidata.org/wiki/Q207316?uselang=ca#P856" title="Modifica el valor a Wikidata"><img alt="Modifica el valor a Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/10px-Arbcom_ru_editing.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/15px-Arbcom_ru_editing.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/63/Arbcom_ru_editing.svg/20px-Arbcom_ru_editing.svg.png 2x" data-file-width="600" data-file-height="600" /></a></span></span></td></tr></tbody></table> <p><b>Lua</b> és un <a href="/wiki/Llenguatge_de_programaci%C3%B3" title="Llenguatge de programació">llenguatge de programació</a> <a href="/wiki/Programaci%C3%B3_imperativa" title="Programació imperativa">imperatiu</a> i <a href="/wiki/Programaci%C3%B3_estructurada" title="Programació estructurada">estructurat</a>. És bastant lleuger i es va dissenyar com a llenguatge de <a href="/wiki/Llenguatge_interpretat" title="Llenguatge interpretat">script</a> amb una <a href="/wiki/Sem%C3%A0ntica" title="Semàntica">semàntica</a> extensible. El nom significa «lluna» en <a href="/wiki/Portugu%C3%A8s" title="Portuguès">portuguès</a>. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Història"><span id="Hist.C3.B2ria"></span>Història</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=1" title="Modifica la secció: Història"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>El van crear l'any <a href="/wiki/1993" title="1993">1993</a> <a href="/w/index.php?title=Robert_Ierusalimschy&amp;action=edit&amp;redlink=1" class="new" title="Robert Ierusalimschy (encara no existeix)">Robert Ierusalimschy</a>, <a href="/w/index.php?title=Luiz_Henrique_de_Figueiredo&amp;action=edit&amp;redlink=1" class="new" title="Luiz Henrique de Figueiredo (encara no existeix)">Luiz Henrique de Figueiredo</a> i <a href="/w/index.php?title=Waldemar_Celes&amp;action=edit&amp;redlink=1" class="new" title="Waldemar Celes (encara no existeix)">Waldemar Celes</a>, membres del Grup de Tecnologia en Computació Gràfica (<a href="/w/index.php?title=Tecgraf&amp;action=edit&amp;redlink=1" class="new" title="Tecgraf (encara no existeix)">Tecgraf</a>) de la <a href="/w/index.php?title=Pontif%C3%ADcia_Universitat_Cat%C3%B2lica_de_Rio_de_Janeiro&amp;action=edit&amp;redlink=1" class="new" title="Pontifícia Universitat Catòlica de Rio de Janeiro (encara no existeix)">Pontifícia Universitat Catòlica de Rio de Janeiro</a>. Les versions de Lua anteriors a la 5.0 es van distribuir sota una llicència similar a la <a href="/wiki/Llic%C3%A8ncia_BSD" title="Llicència BSD">BSD</a>. De la versió 5.0 en endavant s'utilitza la <a href="/wiki/Llic%C3%A8ncia_MIT" class="mw-redirect" title="Llicència MIT">llicència MIT</a>, compatible amb la <a href="/wiki/Llic%C3%A8ncia_P%C3%BAblica_General_de_GNU" class="mw-redirect" title="Llicència Pública General de GNU">GPL</a>. </p><p>S'utilitza en moltes <a href="/wiki/Aplicaci%C3%B3_(inform%C3%A0tica)" class="mw-redirect" title="Aplicació (informàtica)">aplicacions</a> comercials, i no comercials, les quals s'incrementen cada any. </p> <div class="mw-heading mw-heading2"><h2 id="Característiques"><span id="Caracter.C3.ADstiques"></span>Característiques</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=2" title="Modifica la secció: Característiques"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Tipus_de_dades">Tipus de dades</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=3" title="Modifica la secció: Tipus de dades"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>És un <a href="/w/index.php?title=Llenguatge_d%27extensi%C3%B3&amp;action=edit&amp;redlink=1" class="new" title="Llenguatge d&#39;extensió (encara no existeix)">llenguatge d'extensió</a>, prou compacte per a usar-se en diferents plataformes. En Lua les <a href="/wiki/Variable_(programaci%C3%B3)" title="Variable (programació)">variables</a> no tenen <a href="/wiki/Tipus_de_dada" title="Tipus de dada">tipus</a>, </p> <table class="wikitable"> <caption>Tipus de dades natius a Lua </caption> <tbody><tr> <th>Tipus </th> <th>Descripció </th> <th>Exemples </th></tr> <tr> <td>nil </td> <td>S'utilitza per a diferenciar el valor quan hi ha o no hi ha valor (nil) assignat. </td> <td>- </td></tr> <tr> <td>Booleà (boolean) </td> <td>Inclou els valors «cert» i «fals». Sovint utilitzat per a verificació de condicions. </td> <td>True, False </td></tr> <tr> <td>Nombre (number) </td> <td>Representa nombres reals, de coma flotant de doble precisió. </td> <td>4, 0.4, 4.57e-3, 0.3e12, 5e+20 </td></tr> <tr> <td>Cadena de caràcters (string) </td> <td>Representa una cadena de caràcters. </td> <td>"Una frase" </td></tr> <tr> <td>Funció (function) </td> <td>Representa un mètode escrit en C o Lua. </td> <td>print(a), foo(b) </td></tr> <tr> <td>userdata </td> <td>Representa dades arbitràries en C. </td> <td>Qualsevol codi en C </td></tr> <tr> <td>Fil (thread) </td> <td>Representa fils d'execució independents i s'utilitza per a implementar co-rutines. </td> <td>- </td></tr> <tr> <td>Taula (table) </td> <td>Representa matrius, taules de símbols, jocs, registres, grafs, arbres, etc, i implementa matrius associatives. Pot contenir qualsevol valor excepte «nil». Es poden indexar tant amb nombres com amb cadenes de caràcters. </td> <td>{"a", "b", "c"}, {[1]="a", [2]="b", [3]="c"} </td></tr></tbody></table> <p>La semàntica de Lua pot ser estesa i modificada redefinint <a href="/wiki/Subrutina" title="Subrutina">funcions</a> de les estructures de dades utilitzant metataules. </p><p>Lua suporta <a href="/wiki/Funcions_d%27ordre_superior" class="mw-redirect" title="Funcions d&#39;ordre superior">funcions d'ordre superior</a> i <a href="/wiki/Recollida_d%27escombraries" class="mw-redirect" title="Recollida d&#39;escombraries">col·lector d'escombraries</a>. </p><p>Els programes en Lua no són interpretats directament, sinó <a href="/wiki/Compilador" title="Compilador">compilats</a> a codi <a href="/wiki/Bytecode" title="Bytecode">bytecode</a>, que s'executa a la <a href="/wiki/M%C3%A0quina_virtual" title="Màquina virtual">màquina virtual</a> de Lua. El procés de compilació és normalment transparent a l'usuari i es realitza en temps d'execució, però pot fer-se amb anticipació per augmentar el rendiment i reduir l'ús de <a href="/wiki/Mem%C3%B2ria_d%27ordinador" title="Memòria d&#39;ordinador">memòria</a> en prescindir del compilador. </p><p>També és possible la <a href="/w/index.php?title=Compilaci%C3%B3_JIT&amp;action=edit&amp;redlink=1" class="new" title="Compilació JIT (encara no existeix)">Compilació JIT</a> utilitzant <a rel="nofollow" class="external text" href="http://luajit.org">LuaJIT</a> </p> <div class="mw-heading mw-heading2"><h2 id="Aplicacions">Aplicacions</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=4" title="Modifica la secció: Aplicacions"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Jocs">Jocs</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=5" title="Modifica la secció: Jocs"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Com que Lua en ser compilat és petit, veloç i, a més, té una llicència permissiva, ha guanyat seguidors entre els desenvolupadors de videojocs. Altres usos de Lua: </p> <ul><li>Al joc <a href="/wiki/Roblox" title="Roblox">Roblox</a> mes concretament en Roblox Studio, pots crear els teus propis videojocs amb el llenguatje <b>Lua</b>.</li></ul> <ul><li><i><a href="/wiki/World_of_Warcraft" title="World of Warcraft">World of Warcraft</a></i>, on l'usuari té la possibilitat de personalitzar gairebé completament la <a href="/w/index.php?title=Gui&amp;action=edit&amp;redlink=1" class="new" title="Gui (encara no existeix)">interfície</a> creant afegits que permeten informar de qualsevol cosa al seu corresponent carpeta Interface en la qual el WoW.exe té l'<a href="/wiki/Int%C3%A8rpret_(inform%C3%A0tica)" title="Intèrpret (informàtica)">intèrpret</a> de Lua i executa en la seva Interface l'Addon creat a lua.</li> <li>També en un mod tipus «sandbox» per a <i><a href="/wiki/Half-Life_2" title="Half-Life 2">Half-Life 2</a></i> anomenat <i><a href="/w/index.php?title=Garry%27s_Mod&amp;action=edit&amp;redlink=1" class="new" title="Garry&#39;s Mod (encara no existeix)">Garry's Mod</a></i>, que es pot modificar gairebé completament. Gran part de <i>Garry's Mod</i> està escrit en Lua.</li> <li>Al Joc <i><a href="/wiki/Minecraft" title="Minecraft">Minecraft</a></i>, en el mod del joc anomenat <i><a href="/w/index.php?title=ComputerCraft&amp;action=edit&amp;redlink=1" class="new" title="ComputerCraft (encara no existeix)">ComputerCraft</a></i>, on l'usuari té l'opció de crear un ordinador i utilitzar (i modificar) certs programes dins del joc.</li> <li>El joc de RPG<i>Tibia</i>* Part de <i><a href="/w/index.php?title=STALKER_-_Shadow_of_Chernobyl&amp;action=edit&amp;redlink=1" class="new" title="STALKER - Shadow of Chernobyl (encara no existeix)">STALKER - Shadow of Chernobyl</a> </i>, permetent al jugador modificar armes, armadures i aspectes diversos del joc.</li> <li><i><a href="/wiki/Grim_Fandango" title="Grim Fandango">Grim Fandango</a> </i>i <i>La Fuga de Monkey Island </i>(quarta entrega de la saga <i><a href="/wiki/Monkey_Island" title="Monkey Island">Monkey Island</a> </i>) utilitzen internament scripts en Lua per definir la història i els esdeveniments que ocorren durant la partida.</li> <li>Mitjançant un programa casolà (o homebrew), el LuaPlayer, es poden executar fitxers Lua a la coneguda consola portàtil de Sony.</li> <li><i><a href="/w/index.php?title=Regnum_Online&amp;action=edit&amp;redlink=1" class="new" title="Regnum Online (encara no existeix)">Regnum Online</a></i> i TASpring utilitzen Lua per la majoria d'scripts del joc, com a la interfície, al mode de joc, les accions, etc.</li></ul> <div class="mw-heading mw-heading3"><h3 id="Altres_aplicacions">Altres aplicacions</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=6" title="Modifica la secció: Altres aplicacions"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Lua també s'ha usat per processar dades d'entrada a sistemes complexos, configurar aplicacions, controlar <a href="/wiki/Maquinari" title="Maquinari">maquinari</a> i moltes altres coses. </p> <ul><li>El gestor de finestres <a href="/wiki/Awesome" title="Awesome">awesome</a> en la seva versió 3 utilitza Lua per al seu fitxer de configuració.</li></ul> <p>També s'utilitza per programar aplicacions i jocs per la consola PSP de Sony, ja que el llenguatge en què escriu la PSP és un intèrpret del Lua, tot i que es necessita un programa per executar o un eboot d'una altra aplicació que utilitzi Lua (per exemple LuaDEV). </p> <div class="mw-heading mw-heading2"><h2 id="Enllaços_externs"><span id="Enlla.C3.A7os_externs"></span>Enllaços externs</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua&amp;action=edit&amp;section=7" title="Modifica la secció: Enllaços externs"><span>modifica</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r33663753">.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:#f9f9f9;display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1;min-width:0}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}.mw-parser-output .side-box-center{clear:both;margin:auto}}</style><div class="side-box metadata side-box-right plainlinks"> <div class="side-box-flex"> <div class="side-box-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/30px-Commons-logo.svg.png" decoding="async" width="30" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/45px-Commons-logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/59px-Commons-logo.svg.png 2x" data-file-width="1024" data-file-height="1376" /></span></span></div> <div class="side-box-text plainlist">A <span class="plainlinks"><a class="external text" href="https://commons.wikimedia.org/wiki/P%C3%A0gina_principal?uselang=ca">Wikimedia Commons</a></span> hi ha contingut multimèdia relatiu a: <i><b><a href="https://commons.wikimedia.org/wiki/Category:Lua_(programming_language)" class="extiw" title="commons:Category:Lua (programming language)">Lua</a></b></i></div></div> </div> <ul><li><a rel="nofollow" class="external text" href="http://www.lua.org">Lua.org</a> <style data-mw-deduplicate="TemplateStyles:r33711417">.mw-parser-output .languageicon{font-size:0.95em;color:#555;background-color:inherit}@media screen{html.skin-theme-clientpref-night .mw-parser-output .languageicon{background-color:inherit;color:white}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .languageicon{background-color:inherit;color:white}}</style><span class="languageicon" title="En anglès">(anglès)</span></li> <li><a rel="nofollow" class="external text" href="http://www.luaforge.net">LuaForge</a> <a rel="nofollow" class="external text" href="https://web.archive.org/web/20050831150057/http://www.luaforge.net/">Arxivat</a> 2005-08-31 a <a href="/wiki/Wayback_Machine" title="Wayback Machine">Wayback Machine</a>. <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r33711417"><span class="languageicon" title="En anglès">(anglès)</span></li></ul> <div role="navigation" class="navbox" aria-label="Navbox" style="padding:3px"><table class="nowraplinks hlist navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Control_d%27autoritats" title="Control d&#39;autoritats">Registres d'autoritat</a></th><td class="navbox-list navbox-odd" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Biblioth%C3%A8que_nationale_de_France" class="mw-redirect" title="Bibliothèque nationale de France">BNF</a> <span class="uid"> (<a rel="nofollow" class="external text" href="http://catalogue.bnf.fr/ark:/12148/cb166522948">1</a>)</span></li> <li><a href="/wiki/Gemeinsame_Normdatei" title="Gemeinsame Normdatei">GND</a> <span class="uid"> (<a rel="nofollow" class="external text" href="http://d-nb.info/gnd/7547043-3">1</a>)</span></li> <li><a href="/wiki/LCCN" class="mw-redirect" title="LCCN">LCCN</a> <span class="uid"> (<a rel="nofollow" class="external text" href="https://id.loc.gov/authorities/subjects/sh2004007514">1</a>)</span></li></ul> </div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐745f94f9f8‐9brrp Cached time: 20241120033518 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.198 seconds Real time usage: 0.393 seconds Preprocessor visited node count: 794/1000000 Post‐expand include size: 38149/2097152 bytes Template argument size: 1317/2097152 bytes Highest expansion depth: 13/100 Expensive parser function count: 0/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 2546/5000000 bytes Lua time usage: 0.102/10.000 seconds Lua memory usage: 2851612/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 336.111 1 -total 69.78% 234.553 1 Plantilla:Infotaula_llenguatge_programació 68.85% 231.405 1 Plantilla:Infotaula 9.73% 32.696 1 Plantilla:Commonscat 7.42% 24.937 1 Plantilla:Sister 7.42% 24.924 1 Plantilla:Autoritat 6.84% 22.988 1 Plantilla:Caixa_lateral 4.89% 16.424 1 Plantilla:If_empty 3.96% 13.326 1 Plantilla:Vegeu3 3.59% 12.074 3 Plantilla:Colors_infotaules --> <!-- Saved in parser cache with key cawiki:pcache:idhash:563020-0!canonical and timestamp 20241120033518 and revision id 30346078. 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="">Obtingut de «<a dir="ltr" href="https://ca.wikipedia.org/w/index.php?title=Lua&amp;oldid=30346078">https://ca.wikipedia.org/w/index.php?title=Lua&amp;oldid=30346078</a>»</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Especial:Categorias" title="Especial:Categorias">Categories</a>: <ul><li><a href="/wiki/Categoria:Llenguatges_de_programaci%C3%B3" title="Categoria:Llenguatges de programació">Llenguatges de programació</a></li><li><a href="/wiki/Categoria:Programari_lliure_escrit_en_C" title="Categoria:Programari lliure escrit en C">Programari lliure escrit en C</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Categories ocultes: <ul><li><a href="/wiki/Categoria:Articles_sense_refer%C3%A8ncies" title="Categoria:Articles sense referències">Articles sense referències</a></li><li><a href="/wiki/Categoria:Articles_amb_redacci%C3%B3_per_millorar" title="Categoria:Articles amb redacció per millorar">Articles amb redacció per millorar</a></li><li><a href="/wiki/Categoria:P%C3%A0gines_amb_etiquetes_de_Wikidata_sense_traducci%C3%B3" title="Categoria:Pàgines amb etiquetes de Wikidata sense traducció">Pàgines amb etiquetes de Wikidata sense traducció</a></li><li><a href="/wiki/Categoria:P%C3%A0gines_amb_enlla%C3%A7_commonscat_des_de_Wikidata" title="Categoria:Pàgines amb enllaç commonscat des de Wikidata">Pàgines amb enllaç commonscat des de Wikidata</a></li><li><a href="/wiki/Categoria:Articles_amb_la_plantilla_Webarchive_amb_enlla%C3%A7_wayback" title="Categoria:Articles amb la plantilla Webarchive amb enllaç wayback">Articles amb la plantilla Webarchive amb enllaç wayback</a></li><li><a href="/wiki/Categoria:Control_d%27autoritats" title="Categoria:Control d&#039;autoritats">Control d'autoritats</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"> La pàgina va ser modificada per darrera vegada el 13 juny 2022 a les 09:51.</li> <li id="footer-info-copyright">El text està disponible sota la <a href="/wiki/Viquip%C3%A8dia:Text_de_la_llic%C3%A8ncia_de_Creative_Commons_Reconeixement-Compartir_Igual_4.0_No_adaptada" title="Viquipèdia:Text de la llicència de Creative Commons Reconeixement-Compartir Igual 4.0 No adaptada"> Llicència de Creative Commons Reconeixement i Compartir-Igual</a>; es poden aplicar termes addicionals. Vegeu les <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use/ca">Condicions d'ús</a>. Wikipedia&#174; (Viquipèdia™) és una <a href="/wiki/Marca_comercial" title="Marca comercial">marca registrada</a> de <a rel="nofollow" class="external text" href="https://www.wikimediafoundation.org">Wikimedia Foundation, Inc</a>.<br /></li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Política de privadesa</a></li> <li id="footer-places-about"><a href="/wiki/Viquip%C3%A8dia:Quant_a_la_Viquip%C3%A8dia">Quant al projecte Viquipèdia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Viquip%C3%A8dia:Av%C3%ADs_d%27exempci%C3%B3_de_responsabilitat">Descàrrec de responsabilitat</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Codi de conducta</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Desenvolupadors</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/ca.wikipedia.org">Estadístiques</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Declaració de cookies</a></li> <li id="footer-places-mobileview"><a href="//ca.m.wikipedia.org/w/index.php?title=Lua&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Versió per a mòbils</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-8wtkn","wgBackendResponseTime":131,"wgPageParseReport":{"limitreport":{"cputime":"0.198","walltime":"0.393","ppvisitednodes":{"value":794,"limit":1000000},"postexpandincludesize":{"value":38149,"limit":2097152},"templateargumentsize":{"value":1317,"limit":2097152},"expansiondepth":{"value":13,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":2546,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 336.111 1 -total"," 69.78% 234.553 1 Plantilla:Infotaula_llenguatge_programació"," 68.85% 231.405 1 Plantilla:Infotaula"," 9.73% 32.696 1 Plantilla:Commonscat"," 7.42% 24.937 1 Plantilla:Sister"," 7.42% 24.924 1 Plantilla:Autoritat"," 6.84% 22.988 1 Plantilla:Caixa_lateral"," 4.89% 16.424 1 Plantilla:If_empty"," 3.96% 13.326 1 Plantilla:Vegeu3"," 3.59% 12.074 3 Plantilla:Colors_infotaules"]},"scribunto":{"limitreport-timeusage":{"value":"0.102","limit":"10.000"},"limitreport-memusage":{"value":2851612,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-745f94f9f8-9brrp","timestamp":"20241120033518","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Lua","url":"https:\/\/ca.wikipedia.org\/wiki\/Lua","sameAs":"http:\/\/www.wikidata.org\/entity\/Q207316","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q207316","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2009-12-03T13:28:19Z","dateModified":"2022-06-13T08:51:30Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/c\/cf\/Lua-Logo.svg","headline":"llenguatge de programaci\u00f3"}</script> </body> </html>

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