CINXE.COM
Lua (bahasa pemrograman) - Wikipedia bahasa Indonesia, ensiklopedia bebas
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="id" dir="ltr"> <head> <meta charset="UTF-8"> <title>Lua (bahasa pemrograman) - Wikipedia bahasa Indonesia, ensiklopedia bebas</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )idwikimwclientpreferences=([^;]+)/);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":["","Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"wgRequestId":"7710001e-938b-44cd-bfbb-7ce5689a2291","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Lua_(bahasa_pemrograman)","wgTitle":"Lua (bahasa pemrograman)","wgCurRevisionId":26551945,"wgRevisionId":26551945,"wgArticleId":744336,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Halaman dengan argumen ganda di pemanggilan templat","Galat CS1: ISBN","Artikel mengandung aksara Portugis","Artikel dengan pranala luar nonaktif","Artikel dengan pranala luar nonaktif permanen","Situs web resmi berbeda dengan Wikidata dan Wikipedia","Templat webarchive tautan wayback","Artikel Wikipedia dengan penanda GND","Artikel Wikipedia dengan penanda BNF","Artikel Wikipedia dengan penanda LCCN", "Halaman dengan sel data kotak info yang dihiraukan","Bahasa pemrograman","Perangkat lunak bebas"],"wgPageViewLanguage":"id","wgPageContentLanguage":"id","wgPageContentModel":"wikitext","wgRelevantPageName":"Lua_(bahasa_pemrograman)","wgRelevantArticleId":744336,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"accuracy":{"levels":2}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"id","pageLanguageDir":"ltr","pageVariantFallbacks":"id"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":10000,"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.gadget.charinsert-styles":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready", "ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.watchlist-notice","ext.gadget.charinsert","ext.gadget.refToolbar","ext.gadget.AdvancedSiteNotices","ext.gadget.switcher","ext.gadget.Bagikan","ext.gadget.CurIDLink","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","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=id&modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=id&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=id&modules=ext.gadget.charinsert-styles&only=styles&skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=id&modules=site.styles&only=styles&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 (bahasa pemrograman) - Wikipedia bahasa Indonesia, ensiklopedia bebas"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//id.m.wikipedia.org/wiki/Lua_(bahasa_pemrograman)"> <link rel="alternate" type="application/x-wiki" title="Sunting" href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (id)"> <link rel="EditURI" type="application/rsd+xml" href="//id.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://id.wikipedia.org/wiki/Lua_(bahasa_pemrograman)"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.id"> <link rel="alternate" type="application/atom+xml" title="Umpan Atom Wikipedia" href="/w/index.php?title=Istimewa:Perubahan_terbaru&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_bahasa_pemrograman rootpage-Lua_bahasa_pemrograman skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Lompat ke isi</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="Situs"> <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="Menu utama" > <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">Menu utama</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">Menu utama</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">pindah ke bilah sisi</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">sembunyikan</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigasi </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage" class="mw-list-item"><a href="/wiki/Halaman_Utama" title="Kunjungi Halaman Utama [z]" accesskey="z"><span>Halaman Utama</span></a></li><li id="n-Daftar-isi" class="mw-list-item"><a href="/wiki/Wikipedia:Isi"><span>Daftar isi</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Istimewa:Perubahan_terbaru" title="Daftar perubahan terbaru dalam wiki. [r]" accesskey="r"><span>Perubahan terbaru</span></a></li><li id="n-Artikel-pilihan" class="mw-list-item"><a href="/wiki/Wikipedia:Artikel_pilihan/Topik"><span>Artikel pilihan</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Peristiwa_terkini" title="Temukan informasi tentang peristiwa terkini"><span>Peristiwa terkini</span></a></li><li id="n-newpage" class="mw-list-item"><a href="/wiki/Istimewa:Halaman_baru"><span>Halaman baru</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Istimewa:Halaman_sembarang" title="Tampilkan sembarang halaman [x]" accesskey="x"><span>Halaman sembarang</span></a></li> </ul> </div> </div> <div id="p-Komunitas" class="vector-menu mw-portlet mw-portlet-Komunitas" > <div class="vector-menu-heading"> Komunitas </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-Warung-Kopi" class="mw-list-item"><a href="/wiki/Wikipedia:Warung_Kopi"><span>Warung Kopi</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Portal:Komunitas" title="Tentang proyek, apa yang dapat Anda lakukan, di mana untuk mencari sesuatu"><span>Portal komunitas</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Bantuan:Isi" title="Tempat mencari bantuan."><span>Bantuan</span></a></li> </ul> </div> </div> <div id="p-Wikipedia" class="vector-menu mw-portlet mw-portlet-Wikipedia" > <div class="vector-menu-heading"> Wikipedia </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:Perihal"><span>Tentang Wikipedia</span></a></li><li id="n-Pancapilar" class="mw-list-item"><a href="/wiki/Wikipedia:Pancapilar"><span>Pancapilar</span></a></li><li id="n-Kebijakan" class="mw-list-item"><a href="/wiki/Wikipedia:Kebijakan_dan_pedoman"><span>Kebijakan</span></a></li><li id="n-Hubungi-kami" class="mw-list-item"><a href="/wiki/Wikipedia:Hubungi_kami"><span>Hubungi kami</span></a></li><li id="n-Bak-pasir" class="mw-list-item"><a href="/wiki/Wikipedia:Bak_pasir"><span>Bak pasir</span></a></li> </ul> </div> </div> <div id="p-Bagikan" class="vector-menu mw-portlet mw-portlet-Bagikan emptyPortlet" > <div class="vector-menu-heading"> Bagikan </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Halaman_Utama" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="Ensiklopedia Bebas" src="/static/images/mobile/copyright/wikipedia-tagline-id.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/Istimewa:Pencarian" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Cari di Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Pencarian</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="Telusuri Wikipedia" aria-label="Telusuri Wikipedia" autocapitalize="sentences" title="Cari di Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Istimewa:Pencarian"> </div> <button class="cdx-button cdx-search-input__end-button">Cari</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Perkakas pribadi"> <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="Tampilan"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page'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="Tampilan" > <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">Tampilan</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&utm_medium=sidebar&utm_campaign=C13_id.wikipedia.org&uselang=id" class=""><span>Menyumbang</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=Istimewa:Buat_akun&returnto=Lua+%28bahasa+pemrograman%29" title="Anda dianjurkan untuk membuat akun dan masuk log; meskipun, hal itu tidak diwajibkan" class=""><span>Buat akun baru</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=Istimewa:Masuk_log&returnto=Lua+%28bahasa+pemrograman%29" title="Anda disarankan untuk masuk log, meskipun hal itu tidak diwajibkan. [o]" accesskey="o" class=""><span>Masuk log</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="Opsi lainnya" > <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="Perkakas pribadi" > <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">Perkakas pribadi</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menu pengguna" > <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&utm_medium=sidebar&utm_campaign=C13_id.wikipedia.org&uselang=id"><span>Menyumbang</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Istimewa:Buat_akun&returnto=Lua+%28bahasa+pemrograman%29" title="Anda dianjurkan untuk membuat akun dan masuk log; meskipun, hal itu tidak diwajibkan"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Buat akun baru</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Istimewa:Masuk_log&returnto=Lua+%28bahasa+pemrograman%29" title="Anda disarankan untuk masuk log, meskipun hal itu tidak diwajibkan. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Masuk log</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"> Halaman penyunting yang telah keluar log <a href="/wiki/Bantuan:Pengantar" aria-label="Pelajari lebih lanjut tentang menyunting"><span>pelajari lebih lanjut</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/Istimewa:Kontribusi_saya" title="Daftar suntingan yang dibuat dari alamat IP ini [y]" accesskey="y"><span>Kontribusi</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Istimewa:Pembicaraan_saya" title="Pembicaraan tentang suntingan dari alamat IP ini [n]" accesskey="n"><span>Pembicaraan</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="Situs"> <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="Daftar isi" 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">Daftar isi</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">pindah ke bilah sisi</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">sembunyikan</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">Awal</div> </a> </li> <li id="toc-Sejarah" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Sejarah"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Sejarah</span> </div> </a> <ul id="toc-Sejarah-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Fitur" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Fitur"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Fitur</span> </div> </a> <ul id="toc-Fitur-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Contoh_program_Lua" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Contoh_program_Lua"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Contoh program Lua</span> </div> </a> <ul id="toc-Contoh_program_Lua-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Lihat_pula" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Lihat_pula"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Lihat pula</span> </div> </a> <ul id="toc-Lihat_pula-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Rujukan" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Rujukan"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Rujukan</span> </div> </a> <ul id="toc-Rujukan-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Bacaan_lanjutan" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Bacaan_lanjutan"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Bacaan lanjutan</span> </div> </a> <ul id="toc-Bacaan_lanjutan-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Pranala_luar" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Pranala_luar"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Pranala luar</span> </div> </a> <ul id="toc-Pranala_luar-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="Daftar isi" 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="Gulingkan daftar isi" > <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">Gulingkan daftar isi</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 (bahasa pemrograman)</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="Pergi ke artikel dalam bahasa lain. Terdapat 71 bahasa" > <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 bahasa</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="لوا (لغة برمجة) – Arab" lang="ar" hreflang="ar" data-title="لوا (لغة برمجة)" data-language-autonym="العربية" data-language-local-name="Arab" 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 – Azerbaijani" lang="az" hreflang="az" data-title="Lua" data-language-autonym="Azərbaycanca" data-language-local-name="Azerbaijani" 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 (мова праграмавання) – Belarusia" lang="be" hreflang="be" data-title="Lua (мова праграмавання)" data-language-autonym="Беларуская" data-language-local-name="Belarusia" 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 – Bulgaria" lang="bg" hreflang="bg" data-title="Lua" data-language-autonym="Български" data-language-local-name="Bulgaria" 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="লুয়া (প্রোগ্রামিং ভাষা) – Bengali" lang="bn" hreflang="bn" data-title="লুয়া (প্রোগ্রামিং ভাষা)" data-language-autonym="বাংলা" data-language-local-name="Bengali" 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) – Bosnia" lang="bs" hreflang="bs" data-title="Lua (programski jezik)" data-language-autonym="Bosanski" data-language-local-name="Bosnia" class="interlanguage-link-target"><span>Bosanski</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Lua" title="Lua – Katalan" lang="ca" hreflang="ca" data-title="Lua" data-language-autonym="Català" data-language-local-name="Katalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-ckb mw-list-item"><a href="https://ckb.wikipedia.org/wiki/%D9%84%D9%88%D8%A7_(%D8%B2%D9%85%D8%A7%D9%86%DB%8C_%D9%BE%D8%B1%DB%86%DA%AF%D8%B1%D8%A7%D9%85%D8%B3%D8%A7%D8%B2%DB%8C)" title="لوا (زمانی پرۆگرامسازی) – Kurdi Sorani" lang="ckb" hreflang="ckb" data-title="لوا (زمانی پرۆگرامسازی)" data-language-autonym="کوردی" data-language-local-name="Kurdi Sorani" class="interlanguage-link-target"><span>کوردی</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Lua" title="Lua – Cheska" lang="cs" hreflang="cs" data-title="Lua" data-language-autonym="Čeština" data-language-local-name="Cheska" 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) – Dansk" lang="da" hreflang="da" data-title="Lua (programmeringssprog)" data-language-autonym="Dansk" data-language-local-name="Dansk" 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 – Jerman" lang="de" hreflang="de" data-title="Lua" data-language-autonym="Deutsch" data-language-local-name="Jerman" 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 – Yunani" lang="el" hreflang="el" data-title="Lua" data-language-autonym="Ελληνικά" data-language-local-name="Yunani" 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) – Inggris" lang="en" hreflang="en" data-title="Lua (programming language)" data-language-autonym="English" data-language-local-name="Inggris" 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 – Spanyol" lang="es" hreflang="es" data-title="Lua" data-language-autonym="Español" data-language-local-name="Spanyol" 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 – Esti" lang="et" hreflang="et" data-title="Lua" data-language-autonym="Eesti" data-language-local-name="Esti" 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) – Basque" lang="eu" hreflang="eu" data-title="Lua (programazio lengoaia)" data-language-autonym="Euskara" data-language-local-name="Basque" 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="لوآ (زبان برنامهنویسی) – Persia" lang="fa" hreflang="fa" data-title="لوآ (زبان برنامهنویسی)" data-language-autonym="فارسی" data-language-local-name="Persia" 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 – Suomi" lang="fi" hreflang="fi" data-title="Lua" data-language-autonym="Suomi" data-language-local-name="Suomi" 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 – Prancis" lang="fr" hreflang="fr" data-title="Lua" data-language-autonym="Français" data-language-local-name="Prancis" 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) – Galisia" lang="gl" hreflang="gl" data-title="Lua (linguaxe de programación)" data-language-autonym="Galego" data-language-local-name="Galisia" 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="לואה (שפת תכנות) – Ibrani" lang="he" hreflang="he" data-title="לואה (שפת תכנות)" data-language-autonym="עברית" data-language-local-name="Ibrani" 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 – Kroasia" lang="hr" hreflang="hr" data-title="Lua" data-language-autonym="Hrvatski" data-language-local-name="Kroasia" 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) – Hungaria" lang="hu" hreflang="hu" data-title="Lua (programozási nyelv)" data-language-autonym="Magyar" data-language-local-name="Hungaria" 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 (ծրագրավորման լեզու) – Armenia" lang="hy" hreflang="hy" data-title="Lua (ծրագրավորման լեզու)" data-language-autonym="Հայերեն" data-language-local-name="Armenia" 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-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) – Islandia" lang="is" hreflang="is" data-title="Lua (forritunarmál)" data-language-autonym="Íslenska" data-language-local-name="Islandia" 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 – Italia" lang="it" hreflang="it" data-title="Lua" data-language-autonym="Italiano" data-language-local-name="Italia" 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 – Jepang" lang="ja" hreflang="ja" data-title="Lua" data-language-autonym="日本語" data-language-local-name="Jepang" 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="ლუა – Georgia" lang="ka" hreflang="ka" data-title="ლუა" data-language-autonym="ქართული" data-language-local-name="Georgia" 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="루아 (프로그래밍 언어) – Korea" lang="ko" hreflang="ko" data-title="루아 (프로그래밍 언어)" data-language-autonym="한국어" data-language-local-name="Korea" 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) – Latin" lang="la" hreflang="la" data-title="Lua (lingua programmandi)" data-language-autonym="Latina" data-language-local-name="Latin" 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 – Latvi" lang="lv" hreflang="lv" data-title="Lua" data-language-autonym="Latviešu" data-language-local-name="Latvi" 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="ലൂഅ (പ്രോഗ്രാമിംഗ് ഭാഷ) – Malayalam" lang="ml" hreflang="ml" data-title="ലൂഅ (പ്രോഗ്രാമിംഗ് ഭാഷ)" data-language-autonym="മലയാളം" data-language-local-name="Malayalam" 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) – Melayu" lang="ms" hreflang="ms" data-title="Lua (bahasa pengaturcaraan)" data-language-autonym="Bahasa Melayu" data-language-local-name="Melayu" 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) – Belanda" lang="nl" hreflang="nl" data-title="Lua (programmeertaal)" data-language-autonym="Nederlands" data-language-local-name="Belanda" 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 – Bokmål Norwegia" lang="nb" hreflang="nb" data-title="Lua" data-language-autonym="Norsk bokmål" data-language-local-name="Bokmål Norwegia" 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="ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ) – Punjabi" lang="pa" hreflang="pa" data-title="ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="Punjabi" 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 – Polski" lang="pl" hreflang="pl" data-title="Lua" data-language-autonym="Polski" data-language-local-name="Polski" 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) – Portugis" lang="pt" hreflang="pt" data-title="Lua (linguagem de programação)" data-language-autonym="Português" data-language-local-name="Portugis" 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) – Quechua" lang="qu" hreflang="qu" data-title="Lua (wakichiy simi)" data-language-autonym="Runa Simi" data-language-local-name="Quechua" 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) – Rumania" lang="ro" hreflang="ro" data-title="Lua (limbaj de programare)" data-language-autonym="Română" data-language-local-name="Rumania" 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 – Rusia" lang="ru" hreflang="ru" data-title="Lua" data-language-autonym="Русский" data-language-local-name="Rusia" 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="ලුවා (ක්රමලේඛන භාෂාව) – Sinhala" lang="si" hreflang="si" data-title="ලුවා (ක්රමලේඛන භාෂාව)" data-language-autonym="සිංහල" data-language-local-name="Sinhala" 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 – Slovak" lang="sk" hreflang="sk" data-title="Lua" data-language-autonym="Slovenčina" data-language-local-name="Slovak" 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) – Sloven" lang="sl" hreflang="sl" data-title="Lua (programski jezik)" data-language-autonym="Slovenščina" data-language-local-name="Sloven" 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 – Somalia" lang="so" hreflang="so" data-title="Lua" data-language-autonym="Soomaaliga" data-language-local-name="Somalia" 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 – Albania" lang="sq" hreflang="sq" data-title="Lua" data-language-autonym="Shqip" data-language-local-name="Albania" 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) – Serbia" lang="sr" hreflang="sr" data-title="Lua (programski jezik)" data-language-autonym="Српски / srpski" data-language-local-name="Serbia" 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 – Swedia" lang="sv" hreflang="sv" data-title="Lua" data-language-autonym="Svenska" data-language-local-name="Swedia" 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 – Swahili" lang="sw" hreflang="sw" data-title="Lua" data-language-autonym="Kiswahili" data-language-local-name="Swahili" 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="லூவா – Tamil" lang="ta" hreflang="ta" data-title="லூவா" data-language-autonym="தமிழ்" data-language-local-name="Tamil" 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 – Tajik" lang="tg" hreflang="tg" data-title="Lua" data-language-autonym="Тоҷикӣ" data-language-local-name="Tajik" 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="ภาษาลูอา – Thai" lang="th" hreflang="th" data-title="ภาษาลูอา" data-language-autonym="ไทย" data-language-local-name="Thai" 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 – Turki" lang="tr" hreflang="tr" data-title="Lua" data-language-autonym="Türkçe" data-language-local-name="Turki" 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 – Ukraina" lang="uk" hreflang="uk" data-title="Lua" data-language-autonym="Українська" data-language-local-name="Ukraina" 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="لوا (پروگرامنگ زبان) – Urdu" lang="ur" hreflang="ur" data-title="لوا (پروگرامنگ زبان)" data-language-autonym="اردو" data-language-local-name="Urdu" 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 – Vietnam" lang="vi" hreflang="vi" data-title="Lua" data-language-autonym="Tiếng Việt" data-language-local-name="Vietnam" 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 – Wu Tionghoa" lang="wuu" hreflang="wuu" data-title="Lua" data-language-autonym="吴语" data-language-local-name="Wu Tionghoa" 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 – Tionghoa" lang="zh" hreflang="zh" data-title="Lua" data-language-autonym="中文" data-language-local-name="Tionghoa" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/Lua" title="Lua – Minnan" lang="nan" hreflang="nan" data-title="Lua" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="Minnan" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/Lua" title="Lua – Kanton" lang="yue" hreflang="yue" data-title="Lua" data-language-autonym="粵語" data-language-local-name="Kanton" 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="Sunting pranala interwiki" class="wbc-editpage">Sunting pranala</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="Ruang nama"> <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_(bahasa_pemrograman)" title="Lihat halaman isi [c]" accesskey="c"><span>Halaman</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Pembicaraan:Lua_(bahasa_pemrograman)" rel="discussion" title="Pembicaraan halaman isi [t]" accesskey="t"><span>Pembicaraan</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="Ubah varian bahasa" > <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">Bahasa Indonesia</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="Tampilan"> <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_(bahasa_pemrograman)"><span>Baca</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&veaction=edit" title="Sunting halaman ini [v]" accesskey="v"><span>Sunting</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit" title="Sunting kode sumber halaman ini [e]" accesskey="e"><span>Sunting sumber</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=history" title="Revisi sebelumnya dari halaman ini. [h]" accesskey="h"><span>Lihat riwayat</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Peralatan halaman"> <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="Perkakas" > <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">Perkakas</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">Perkakas</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">pindah ke bilah sisi</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">sembunyikan</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Opsi lainnya" > <div class="vector-menu-heading"> Tindakan </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_(bahasa_pemrograman)"><span>Baca</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&veaction=edit" title="Sunting halaman ini [v]" accesskey="v"><span>Sunting</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit" title="Sunting kode sumber halaman ini [e]" accesskey="e"><span>Sunting sumber</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=history"><span>Lihat riwayat</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Umum </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Istimewa:Pranala_balik/Lua_(bahasa_pemrograman)" title="Daftar semua halaman wiki yang memiliki pranala ke halaman ini [j]" accesskey="j"><span>Pranala balik</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Istimewa:Perubahan_terkait/Lua_(bahasa_pemrograman)" rel="nofollow" title="Perubahan terbaru halaman-halaman yang memiliki pranala ke halaman ini [k]" accesskey="k"><span>Perubahan terkait</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Istimewa:Halaman_istimewa" title="Daftar semua halaman istimewa [q]" accesskey="q"><span>Halaman istimewa</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&oldid=26551945" title="Pranala permanen untuk revisi halaman ini"><span>Pranala permanen</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=info" title="Informasi lanjut tentang halaman ini"><span>Informasi halaman</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Istimewa:Kutip&page=Lua_%28bahasa_pemrograman%29&id=26551945&wpFormIdentifier=titleform" title="Informasi tentang bagaimana mengutip halaman ini"><span>Kutip halaman ini</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Istimewa:UrlShortener&url=https%3A%2F%2Fid.wikipedia.org%2Fwiki%2FLua_%28bahasa_pemrograman%29"><span>Lihat URL pendek</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Istimewa:QrCode&url=https%3A%2F%2Fid.wikipedia.org%2Fwiki%2FLua_%28bahasa_pemrograman%29"><span>Unduh kode 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"> Cetak/ekspor </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=Istimewa:Buku&bookcmd=book_creator&referer=Lua+%28bahasa+pemrograman%29"><span>Buat buku</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Istimewa:DownloadAsPdf&page=Lua_%28bahasa_pemrograman%29&action=show-download-screen"><span>Unduh versi PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&printable=yes" title="Versi cetak halaman ini [p]" accesskey="p"><span>Versi cetak</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"> Dalam proyek lain </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:Lua_(programming_language)" hreflang="en"><span>Wikimedia Commons</span></a></li><li class="wb-otherproject-link wb-otherproject-mediawiki mw-list-item"><a href="https://www.mediawiki.org/wiki/Lua" hreflang="en"><span>MediaWiki</span></a></li><li class="wb-otherproject-link wb-otherproject-meta mw-list-item"><a href="https://meta.wikimedia.org/wiki/Lua" hreflang="en"><span>Meta-Wiki</span></a></li><li class="wb-otherproject-link wb-otherproject-wikifunctions mw-list-item"><a href="https://www.wikifunctions.org/wiki/Z620" hreflang="en"><span>Wikifungsi</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="Pranala untuk menghubungkan butir pada ruang penyimpanan data [g]" accesskey="g"><span>Butir di 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="Peralatan halaman"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Tampilan"> <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">Tampilan</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">pindah ke bilah sisi</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">sembunyikan</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">Dari Wikipedia bahasa Indonesia, ensiklopedia bebas</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="id" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r22657712">.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}body.skin-minerva .mw-parser-output .infobox-header,body.skin-minerva .mw-parser-output .infobox-subheader,body.skin-minerva .mw-parser-output .infobox-above,body.skin-minerva .mw-parser-output .infobox-title,body.skin-minerva .mw-parser-output .infobox-image,body.skin-minerva .mw-parser-output .infobox-full-data,body.skin-minerva .mw-parser-output .infobox-below{text-align:center}</style><style data-mw-deduplicate="TemplateStyles:r25990039">.mw-parser-output .ib-video-game .infobox-label{white-space:nowrap;padding-right:0.65em}.mw-parser-output .ib-video-game .infobox-above{font-style:italic}.mw-parser-output .vg{background:url("//upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png")no-repeat top right}.mw-parser-output .ib-country{border-collapse:collapse;line-height:1.2em}.mw-parser-output .ib-country td,.mw-parser-output .ib-country th{border-top:1px solid transparent;padding:0.4em 0.6em 0.4em 0.6em}.mw-parser-output .ib-country .mergedtoprow .infobox-header,.mw-parser-output .ib-country .mergedtoprow .infobox-label,.mw-parser-output .ib-country .mergedtoprow .infobox-data,.mw-parser-output .ib-country .mergedtoprow .infobox-full-data,.mw-parser-output .ib-country .mergedtoprow .infobox-below{border-top:1px solid #a2a9b1;padding:0.4em 0.6em 0.2em 0.6em}.mw-parser-output .ib-country .mergedrow .infobox-label,.mw-parser-output .ib-country .mergedrow .infobox-data,.mw-parser-output .ib-country .mergedrow .infobox-full-data{border:0;padding:0 0.6em 0.2em 0.6em}.mw-parser-output .ib-country .mergedbottomrow .infobox-label,.mw-parser-output .ib-country .mergedbottomrow .infobox-data,.mw-parser-output .ib-country .mergedbottomrow .infobox-full-data{border-top:0;border-bottom:1px solid #a2a9b1;padding:0 0.6em 0.4em 0.6em}.mw-parser-output .ib-country-b{background:url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png")no-repeat top right}.mw-parser-output .ib-country .infobox-header{text-align:center}.mw-parser-output .ib-country .infobox-above{font-size:125%;line-height:1.2}.mw-parser-output .ib-country-names{padding-top:0.25em;font-weight:normal}.mw-parser-output .ib-country-name-style{display:inline}.mw-parser-output .ib-country .infobox-image{padding:0.5em 0}.mw-parser-output .ib-country-anthem{border-top:1px solid #a2a9b1;padding-top:0.5em;margin-top:0.5em}.mw-parser-output .ib-country-map-caption{position:relative;top:0.3em}.mw-parser-output .ib-country-largest,.mw-parser-output .ib-country-lang{font-weight:normal}.mw-parser-output .ib-country-ethnic,.mw-parser-output .ib-country-religion,.mw-parser-output .ib-country-sovereignty{font-weight:normal;display:inline}.mw-parser-output .ib-country-fake-li{text-indent:-0.9em;margin-left:1.2em;font-weight:normal}.mw-parser-output .ib-country-fake-li2{text-indent:0.5em;margin-left:1em;font-weight:normal}.mw-parser-output .ib-country-website{line-height:11pt}.mw-parser-output .ib-country-map-caption3{position:relative;top:0.3em}.mw-parser-output .ib-country-fn{text-align:left;margin:0 auto}.mw-parser-output .ib-country-fn-alpha{list-style-type:lower-alpha;margin-left:1em}.mw-parser-output .ib-country-fn-num{margin-left:1em}</style><table class="infobox vevent" style="box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);border-radius: 2px;; line-height:1.2"><tbody><tr><th colspan="2" class="infobox-above above" style="background-color:#def0ff;border-top:2px solid gray; border-bottom:2px solid gray;font-size:130%; line-height: normal">Lua</th></tr><tr><td colspan="2" class="infobox-image"><center><span typeof="mw:File"><a href="/wiki/Berkas:Lua-Logo.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/128px-Lua-Logo.svg.png" decoding="async" width="128" height="128" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/192px-Lua-Logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Lua-Logo.svg/256px-Lua-Logo.svg.png 2x" data-file-width="947" data-file-height="947" /></a></span></center></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%"><a href="/wiki/Paradigma_pemrograman" title="Paradigma pemrograman">Paradigma</a></th><td class="infobox-data"><a href="/wiki/Paradigma_pemrograman#Multiparadigma" title="Paradigma pemrograman">Multiparadigma</a>: <a href="/wiki/Bahasa_skrip" title="Bahasa skrip">skrip</a>, <a href="/wiki/Pemrograman_imperatif" title="Pemrograman imperatif">imperatif</a> (<a href="/wiki/Pemrograman_prosedural" title="Pemrograman prosedural">prosedural</a>, <a href="/w/index.php?title=Pemrograman_berbasis_prototipe&action=edit&redlink=1" class="new" title="Pemrograman berbasis prototipe (halaman belum tersedia)">berbasis prototipe</a> <a href="/wiki/Pemrograman_berorientasi_objek" title="Pemrograman berorientasi objek">berorientasi objek</a>), <a href="/wiki/Pemrograman_fungsional" title="Pemrograman fungsional">fungsional</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%"><a href="/w/index.php?title=Desain_Perangkat_Lunak&action=edit&redlink=1" class="new" title="Desain Perangkat Lunak (halaman belum tersedia)">Dirancang oleh</a></th><td class="infobox-data"><a href="/w/index.php?title=Roberto_Ierusalimschy&action=edit&redlink=1" class="new" title="Roberto Ierusalimschy (halaman belum tersedia)">Roberto Ierusalimschy</a><br /> Waldemar Celes<br /> Luiz Henrique de Figueiredo</td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%">Rilis perdana</th><td class="infobox-data">1993<span class="noprint">; 31 tahun lalu</span><span style="display:none"> (<span class="bday dtstart published updated">1993</span>)</span></td></tr><tr><td colspan="2" class="infobox-full-data"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r22657712"></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/Daur_hidup_rilis_perangkat_lunak" title="Daur hidup rilis perangkat lunak">Rilis stabil</a></th><td class="infobox-data"><div style="margin:0px;">5.4.7<sup id="cite_ref-wikidata-a856f141bd953b6aacf5a1724577abc3018cbce1-v3_1-0" class="reference"><a href="#cite_note-wikidata-a856f141bd953b6aacf5a1724577abc3018cbce1-v3-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> <span class="mw-valign-text-top" typeof="mw:File/Frameless"><a href="https://www.wikidata.org/wiki/Q207316?uselang=id#P348" title="Sunting di Wikidata"><img alt="Sunting di Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span> / 25 Juni 2024<span style="display:none"> (<span class="bday published updated">25 Juni 2024</span>)</span></div></td></tr><tr style="display:none"><td colspan="2"> </td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%"><a href="/w/index.php?title=Tipe_sistem&action=edit&redlink=1" class="new" title="Tipe sistem (halaman belum tersedia)">Tipe sistem</a></th><td class="infobox-data"><a href="/w/index.php?title=Pengetikan_dinamis&action=edit&redlink=1" class="new" title="Pengetikan dinamis (halaman belum tersedia)">Dinamis</a>, <a href="/w/index.php?title=Tipe_sistem&action=edit&redlink=1" class="new" title="Tipe sistem (halaman belum tersedia)">kuat</a>, <a href="/w/index.php?title=Duck_typing&action=edit&redlink=1" class="new" title="Duck typing (halaman belum tersedia)">duck</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%"><a href="/wiki/Sistem_operasi" title="Sistem operasi">Sistem operasi</a></th><td class="infobox-data"><a href="/wiki/Multiplatform" class="mw-redirect" title="Multiplatform">Multiplatform</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%"><a href="/wiki/Lisensi_perangkat_lunak" title="Lisensi perangkat lunak">Lisensi</a></th><td class="infobox-data"><a href="/wiki/Lisensi_MIT" title="Lisensi MIT">Lisensi MIT</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%"><a href="/w/index.php?title=Ekstensi_nama_berkas&action=edit&redlink=1" class="new" title="Ekstensi nama berkas (halaman belum tersedia)">Ekstensi nama berkas</a></th><td class="infobox-data"><code>.lua</code></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%">Situs web</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="http://www.lua.org/">www<wbr />.lua<wbr />.org</a></span></td></tr><tr><th scope="row" class="infobox-label" style="white-space: pre-line; width:33%">Repositori</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="https://www.lua.org/">www<wbr />.lua<wbr />.org</a></span></td></tr><tr><th colspan="2" class="infobox-header" style="background-color:#def0ff;font-size:100%; line-height: normal"><a href="/w/index.php?title=Implementasi_bahasa_pemrograman&action=edit&redlink=1" class="new" title="Implementasi bahasa pemrograman (halaman belum tersedia)">Implementasi</a> utama</th></tr><tr><th colspan="2" class="infobox-header" style="background-color:#def0ff;font-size:100%; line-height: normal"><a href="/w/index.php?title=Dialek_(komputer)&action=edit&redlink=1" class="new" title="Dialek (komputer) (halaman belum tersedia)">Dialek</a></th></tr><tr><td colspan="2" class="infobox-full-data"><a rel="nofollow" class="external text" href="http://metalua.luaforge.net/">Metalua</a>, <a rel="nofollow" class="external text" href="http://idle.thomaslauer.com/">Idle</a>, <a rel="nofollow" class="external text" href="http://www.nongnu.org/gsl-shell/">GSL Shell</a>, <a rel="nofollow" class="external text" href="https://luau-lang.org/">Luau</a></td></tr><tr><th colspan="2" class="infobox-header" style="background-color:#def0ff;font-size:100%; line-height: normal">Terpengaruh oleh</th></tr><tr><td colspan="2" class="infobox-full-data"><a href="/wiki/C%2B%2B" title="C++">C++</a>, <a href="/w/index.php?title=CLU_(bahasa_pemrograman)&action=edit&redlink=1" class="new" title="CLU (bahasa pemrograman) (halaman belum tersedia)">CLU</a>, <a href="/w/index.php?title=Modula-2&action=edit&redlink=1" class="new" title="Modula-2 (halaman belum tersedia)">Modula</a>, <a href="/w/index.php?title=Scheme_(bahasa_pemrograman)&action=edit&redlink=1" class="new" title="Scheme (bahasa pemrograman) (halaman belum tersedia)">Scheme</a>, <a href="/w/index.php?title=SNOBOL&action=edit&redlink=1" class="new" title="SNOBOL (halaman belum tersedia)">SNOBOL</a></td></tr><tr><th colspan="2" class="infobox-header" style="background-color:#def0ff;font-size:100%; line-height: normal">Mempengaruhi</th></tr><tr><td colspan="2" class="infobox-full-data"><a href="/w/index.php?title=Io_(bahasa_pemrograman)&action=edit&redlink=1" class="new" title="Io (bahasa pemrograman) (halaman belum tersedia)">Io</a>, <a href="/w/index.php?title=GameMonkey_Script&action=edit&redlink=1" class="new" title="GameMonkey Script (halaman belum tersedia)">GameMonkey</a>, <a href="/w/index.php?title=Squirrel_(bahasa_pemrograman)&action=edit&redlink=1" class="new" title="Squirrel (bahasa pemrograman) (halaman belum tersedia)">Squirrel</a>, <a href="/w/index.php?title=Falcon_(bahasa_pemrograman)&action=edit&redlink=1" class="new" title="Falcon (bahasa pemrograman) (halaman belum tersedia)">Falcon</a>, <a href="/w/index.php?title=MiniD&action=edit&redlink=1" class="new" title="MiniD (halaman belum tersedia)">MiniD</a></td></tr><tr><td colspan="2" class="infobox-below hlist" style="font-weight:normal;font-size:80%;text-align:left;height:20px;padding-top:0.2em;"><figure class="mw-halign-left" typeof="mw:File"><span><img alt="Sunting kotak info" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></span><figcaption></figcaption></figure><span class="plainlinks"><a class="external text" href="https://id.wikipedia.org/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit&section=top&editintro="><b>Sunting kotak info</b></a></span> • <a href="/wiki/Templat:Infobox_programming_language" title="Templat:Infobox programming language">L</a> • <a href="/w/index.php?title=Pembicaraan_Templat:Infobox_programming_language&action=edit&redlink=1" class="new" title="Pembicaraan Templat:Infobox programming language (halaman belum tersedia)">B</a><figure class="mw-halign-right" typeof="mw:File"><a href="/wiki/Templat:Infobox_programming_language/doc" title="Bantuan penggunaan templat ini"><img alt="Info templat" src="//upload.wikimedia.org/wikipedia/commons/thumb/3/38/Info_Simple.svg/10px-Info_Simple.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/3/38/Info_Simple.svg/15px-Info_Simple.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/3/38/Info_Simple.svg/20px-Info_Simple.svg.png 2x" data-file-width="512" data-file-height="512" /></a><figcaption>Bantuan penggunaan templat ini</figcaption></figure></td></tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r22657712"> <p><b>Lua</b> (<span class="rt-commentedText nowrap"><span class="IPA nopopups noexcerpt"><a href="/wiki/Bantuan:IPA_untuk_bahasa_Inggris" class="mw-redirect" title="Bantuan:IPA untuk bahasa Inggris">/<span style="border-bottom:1px dotted"><span title="/ˈ/: primary stress follows">ˈ</span><span title="'l' in 'lie'">l</span><span title="/uː/: 'oo' in 'goose'">uː</span><span title="/ə/: 'a' in 'about'">ə</span></span>/</a></span></span> <span title="Pengejaan pengucapan Inggris" class="Unicode"><a href="/wiki/Wikipedia:Kunci_pengejaan_pengucapan" title="Wikipedia:Kunci pengejaan pengucapan"><i><b><span class="smallcaps"><span class="SMALLCAPS" style="FONT-VARIANT:SMALL-CAPS;"><span class="NOCAPS" style="TEXT-TRANSFORM:LOWERCASE;">LOO</span></span></span></b>-ə</i></a></span>; dari <a href="/wiki/Bahasa_Portugis" title="Bahasa Portugis">bahasa Portugis</a>: <span lang="pt"><i><a href="https://id.wiktionary.org/wiki/en:lua#Portugis" class="extiw" title="wikt:en:lua">lua</a></i></span> yang berarti "<a href="/wiki/Bulan" title="Bulan">bulan</a>") merupakan <a href="/wiki/Bahasa_pemrograman" title="Bahasa pemrograman">bahasa pemrograman</a> ringkas yang dirancang sebagai <a href="/wiki/Bahasa_pemrograman_dinamis" title="Bahasa pemrograman dinamis">bahasa pemrograman dinamis</a> berbasis <a href="/wiki/Bahasa_skrip" title="Bahasa skrip">skrip</a> dengan semantik yang dapat dikembangkan atau ditambahkan. Sebagai bahasa skrip, Lua memiliki <a href="/wiki/API" class="mw-redirect" title="API">API</a> dalam bahasa <a href="/wiki/C_(bahasa_pemrograman)" title="C (bahasa pemrograman)">C</a> yang relatif lebih sederhana dibandingkan bahasa skrip lainnya. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Sejarah">Sejarah</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&veaction=edit&section=1" title="Sunting bagian: Sejarah" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit&section=1" title="Sunting kode sumber bagian: Sejarah"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Lua ditulis pertama kali oleh Roberto Ierusalimschy, Luiz Henrique de Figueiredo, dan Waldemar Celes yang merupakan anggota <b>Computer Graphics Technology Group</b> (<b>Tecgraf</b>) pada universitas <b>Pontifical Catholic</b>, <a href="/wiki/Rio_de_Janeiro" title="Rio de Janeiro">Rio de Janeiro</a>, <a href="/wiki/Brasil" title="Brasil">Brasil</a>, pada tahun 1993. </p><p>Sebelumnya, sejak tahun 1977 hingga tahun 1992, pemerintah Brazil menerapkan kebijakan perdagangan yang membatasi perdagangan termasuk pertukaran baik <a href="/wiki/Perangkat_keras" title="Perangkat keras">perangkat keras</a> ataupun <a href="/wiki/Perangkat_lunak" title="Perangkat lunak">perangkat lunak komputer</a>. Dalam atmosfer yang demikian, banyak klien <b>Tecgraf</b> tidak mampu, baik secara politik maupun finansial, untuk membeli perangkat lunak dari luar. Alasan itulah yang mendorong Tecgraf untuk mengimplementaskan perangkat utilitas dasar yang dibutuhkan.<sup id="cite_ref-hopl2007_2-0" class="reference"><a href="#cite_note-hopl2007-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> </p><p>Secara historis, bahasa pemrograman Lua berawal dari bahasa pemrograman yang digunakan untuk pendeskripsian serta entri data, serta pengkonfigurasian suatu sistem yang masing-masing dikembangkan secara terpisah oleh tecgraf dari tahun 1992 hingga tahun 1993.<sup id="cite_ref-luahist2001_3-0" class="reference"><a href="#cite_note-luahist2001-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> Tujuan pengembangan tersebut awalnya merupakan usaha untuk menambahkan fitur serta meningkatkan fleksibilitas atas dua proyek pengembangan perangkat lunak yang sedang mereka kerjakan saat itu. Namun terdapat kekurangan atas alur kontrol atas bahasa tersebut sehingga menumbuhkan ide untuk mengembangkannya lebih lanjut dengan fitur-fitur dasar yang lengkap sebagai sebuah bahasa pemrograman. </p> <div class="mw-heading mw-heading2"><h2 id="Fitur">Fitur</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&veaction=edit&section=2" title="Sunting bagian: Fitur" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit&section=2" title="Sunting kode sumber bagian: Fitur"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Secara umum Lua digambarkan sebagai bahasa pemrograman multi paradigma yang menyediakan seperangkat kecil atas fitur-fitur umum yang dapat dikembangkan lebih lanjut untuk memenuhi ragam kebutuhan yang berbeda-beda, karenanya Lua tidak menyediakan fitur yang lengkap dan kompleks yang hanya berfokus pada satu paradigma pemrograman. Sebagai contoh, Lua tidak secara eksplisit mendukung <i>inheritance</i> yang merupakan kemampuan untuk menurunkan sifat sebuah objek dalam konsepsi <a href="/wiki/Pemrograman_berorientasi_objek" title="Pemrograman berorientasi objek">pemrograman berorientasi objek</a> namun Lua menyediakan fasilitas metatable yang memungkinkan hal tersebut diimplementasikan relatif cukup mudah. </p><p>Secara umum, Lua berusaha untuk menyediakan fitur-fitur abstrak/meta yang lebih fleksibel dan dapat dikembangkan jika dibutuhkan dibandingkan menyediakan seperangkat pustaka yang lengkap untuk memenuhi satu kebutuhan tertentu. Hal tersebut menjadikan Lua sebagai bahasa pemrograman yang ringkas dan dapat secara mudah diadaptasikan untuk memenuhi beragam jenis kebutuhan. </p><p>Lua merupakan <a href="/wiki/Bahasa_pemrograman_dinamis" title="Bahasa pemrograman dinamis">bahasa pemrograman dinamis</a> yang ditujukan untuk digunakan sebagai <a href="/wiki/Bahasa_skrip" title="Bahasa skrip">bahasa skrip</a>, dan cukup ringkas untuk disisipkan dalam berbagai jenis platform utama. Lua hanya mendukung beberapa jenis struktur data atomik seperti; boolean, floating point, serta string. Jenis-jenis tipe/struktur data lainnya seperti; larik, set, ataupun list direpresentasikan dalam Lua melalui satu bentuk tipe data, table. </p> <div class="mw-heading mw-heading2"><h2 id="Contoh_program_Lua">Contoh program Lua</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&veaction=edit&section=3" title="Sunting bagian: Contoh program Lua" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit&section=3" title="Sunting kode sumber bagian: Contoh program Lua"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Contoh klasik sebuah program <a href="/wiki/Hello_world" title="Hello world">hello world</a> dapat ditulis dengan bahasa Lua sebagai berikut: </p> <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span> <span class="nb">print</span><span class="p">(</span><span class="s2">"Hello World!"</span><span class="p">)</span> </pre></div> <p>Komentar menggunakan sintaksis yang lebih kurang sama dengan <a href="/wiki/Ada_(bahasa_pemrograman)" title="Ada (bahasa pemrograman)">Ada</a>, <a href="/w/index.php?title=Eiffel_(bahasa_pemrograman)&action=edit&redlink=1" class="new" title="Eiffel (bahasa pemrograman) (halaman belum tersedia)">Eiffel</a>, <a href="/wiki/SQL" title="SQL">SQL</a> dan <a href="/wiki/VHDL" title="VHDL">VHDL</a>: </p> <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="c1">-- Sebuah komentar di Lua dimulai dengan tanda hubung ganda dan berlaku sampai ke akhir baris.</span> <span class="cm">--[[ String dengan beberapa baris & komentar</span> <span class="cm"> dibuka dan ditutup dengan kurung siku ganda. ]]</span> <span class="cm">--[=[ Komentar seperti ini dapat memiliki --[[komentar]] didalamnya. ]=]</span> </pre></div> <p>Contoh lainnya, fungsi rekursif atas faktorial: </p> <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span> <span class="kr">function</span> <span class="nf">factorial</span><span class="p">(</span><span class="n">n</span><span class="p">)</span> <span class="kr">if</span> <span class="n">n</span> <span class="o">==</span> <span class="mi">0</span> <span class="kr">then</span> <span class="kr">return</span> <span class="mi">1</span> <span class="kr">else</span> <span class="kr">return</span> <span class="n">n</span> <span class="o">*</span> <span class="n">factorial</span><span class="p">(</span><span class="n">n</span> <span class="o">-</span> <span class="mi">1</span><span class="p">)</span> <span class="kr">end</span> <span class="kr">end</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Lihat_pula">Lihat pula</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&veaction=edit&section=4" title="Sunting bagian: Lihat pula" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit&section=4" title="Sunting kode sumber bagian: Lihat pula"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Bahasa_pemrograman_dinamis" title="Bahasa pemrograman dinamis">Bahasa pemrograman dinamis</a></li> <li><a href="/wiki/Bahasa_skrip" title="Bahasa skrip">Bahasa skrip</a></li> <li><a href="/wiki/Interpreter" class="mw-redirect" title="Interpreter">Interpreter</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="Rujukan">Rujukan</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&veaction=edit&section=5" title="Sunting bagian: Rujukan" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit&section=5" title="Sunting kode sumber bagian: Rujukan"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r18833634">.mw-parser-output .reflist{font-size:90%;margin-bottom:0.5em;list-style-type:decimal}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist"> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-wikidata-a856f141bd953b6aacf5a1724577abc3018cbce1-v3-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-wikidata-a856f141bd953b6aacf5a1724577abc3018cbce1-v3_1-0">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://groups.google.com/g/lua-l/c/dOrigcoQin8">"[ANN] Lua 5.4.7 now available"</a>. 25 Juni 2024<span class="reference-accessdate">. Diakses tanggal <span class="nowrap">27 Juni</span> 2024</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=%5BANN%5D+Lua+5.4.7+now+available&rft.date=2024-06-25&rft_id=https%3A%2F%2Fgroups.google.com%2Fg%2Flua-l%2Fc%2FdOrigcoQin8&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-hopl2007-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-hopl2007_2-0">^</a></b></span> <span class="reference-text"><cite class="citation book">Ierusalimschy, R.; Figueiredo, L. H.; Celes, W. (2007). <a rel="nofollow" class="external text" href="http://www.lua.org/doc/hopl.pdf">"The evolution of Lua"</a> <span style="font-size:85%;">(PDF)</span>. <a rel="nofollow" class="external text" href="http://www.acm.org/sigs/sigplan/hopl"><i>Proc. of ACM HOPL III</i></a>. hlm. 2–1–2–26. <a href="/wiki/Digital_object_identifier" class="mw-redirect" title="Digital object identifier">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F1238844.1238846">10.1145/1238844.1238846</a>. <a href="/wiki/International_Standard_Book_Number" class="mw-redirect" title="International Standard Book Number">ISBN</a> <a href="/wiki/Istimewa:Sumber_buku/978-1-59593-766-X" title="Istimewa:Sumber buku/978-1-59593-766-X">978-1-59593-766-X</a><span style="font-size:100%" class="error citation-comment"> Periksa nilai: invalid character <code style="color:inherit; border:inherit; padding:inherit;">|isbn=</code> (<a href="/wiki/Bantuan:Galat_CS1#bad_isbn" title="Bantuan:Galat CS1">bantuan</a>)</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.atitle=The+evolution+of+Lua&rft.btitle=Proc.+of+ACM+HOPL+III&rft.pages=2-1-2-26&rft.date=2007&rft_id=info%3Adoi%2F10.1145%2F1238844.1238846&rft.isbn=978-1-59593-766-X&rft.aulast=Ierusalimschy&rft.aufirst=R.&rft.au=Figueiredo%2C+L.+H.&rft.au=Celes%2C+W.&rft_id=http%3A%2F%2Fwww.lua.org%2Fdoc%2Fhopl.pdf&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-luahist2001-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-luahist2001_3-0">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="http://www.lua.org/history.html">"The evolution of an extension language: a history of Lua"</a>. 2001<span class="reference-accessdate">. Diakses tanggal <span class="nowrap">2008-12-18</span></span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=The+evolution+of+an+extension+language%3A+a+history+of+Lua&rft.date=2001&rft_id=http%3A%2F%2Fwww.lua.org%2Fhistory.html&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="Bacaan_lanjutan">Bacaan lanjutan</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&veaction=edit&section=6" title="Sunting bagian: Bacaan lanjutan" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit&section=6" title="Sunting kode sumber bagian: Bacaan lanjutan"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r21093234">.mw-parser-output .refbegin{font-size:90%;margin-bottom:0.5em}.mw-parser-output .refbegin-hanging-indents>ul{margin-left:0}.mw-parser-output .refbegin-hanging-indents>ul>li{margin-left:0;padding-left:3.2em;text-indent:-3.2em}.mw-parser-output .refbegin-hanging-indents ul,.mw-parser-output .refbegin-hanging-indents ul li{list-style:none}@media(max-width:720px){.mw-parser-output .refbegin-hanging-indents>ul>li{padding-left:1.6em;text-indent:-1.6em}}.mw-parser-output .refbegin-columns{margin-top:0.3em}.mw-parser-output .refbegin-columns ul{margin-top:0}.mw-parser-output .refbegin-columns li{page-break-inside:avoid;break-inside:avoid-column}</style><div class="refbegin" style=""> <ul><li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation book">Ierusalimschy, R.; Figueiredo, L. H.; Celes, W. (2006). <a rel="nofollow" class="external text" href="http://www.lua.org/manual/5.1/"><i>Lua 5.1 Reference Manual</i></a>. Lua.org. <a href="/wiki/International_Standard_Book_Number" class="mw-redirect" title="International Standard Book Number">ISBN</a> <a href="/wiki/Istimewa:Sumber_buku/85-903798-3-3" title="Istimewa:Sumber buku/85-903798-3-3">85-903798-3-3</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Lua+5.1+Reference+Manual&rft.pub=Lua.org&rft.date=2006&rft.isbn=85-903798-3-3&rft.aulast=Ierusalimschy&rft.aufirst=R.&rft.au=Figueiredo%2C+L.+H.&rft.au=Celes%2C+W.&rft_id=http%3A%2F%2Fwww.lua.org%2Fmanual%2F5.1%2F&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation book">Ierusalimschy, R. (2006). <a rel="nofollow" class="external text" href="http://www.inf.puc-rio.br/~roberto/pil2/"><i>Programming in Lua</i></a> (edisi ke-2nd). Lua.org. <a href="/wiki/International_Standard_Book_Number" class="mw-redirect" title="International Standard Book Number">ISBN</a> <a href="/wiki/Istimewa:Sumber_buku/85-903798-2-5" title="Istimewa:Sumber buku/85-903798-2-5">85-903798-2-5</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Programming+in+Lua&rft.edition=2nd&rft.pub=Lua.org&rft.date=2006&rft.isbn=85-903798-2-5&rft.aulast=Ierusalimschy&rft.aufirst=R.&rft_id=http%3A%2F%2Fwww.inf.puc-rio.br%2F~roberto%2Fpil2%2F&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span> (1st ed. is available <a rel="nofollow" class="external text" href="http://www.lua.org/pil/">online</a>)</li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation book">Figueiredo, L. H.; Celes, W.; Ierusalimschy, R., ed. (2008). <a rel="nofollow" class="external text" href="http://www.lua.org/gems/"><i>Lua Programming Gems</i></a>. Lua.org. <a href="/wiki/International_Standard_Book_Number" class="mw-redirect" title="International Standard Book Number">ISBN</a> <a href="/wiki/Istimewa:Sumber_buku/978-85-903798-4-3" title="Istimewa:Sumber buku/978-85-903798-4-3">978-85-903798-4-3</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Lua+Programming+Gems&rft.pub=Lua.org&rft.date=2008&rft.isbn=978-85-903798-4-3&rft_id=http%3A%2F%2Fwww.lua.org%2Fgems%2F&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation book">Gutschmidt, T. (2003). <i>Game Programming with Python, Lua, and Ruby</i>. Course Technology PTR. <a href="/wiki/International_Standard_Book_Number" class="mw-redirect" title="International Standard Book Number">ISBN</a> <a href="/wiki/Istimewa:Sumber_buku/1592000770" title="Istimewa:Sumber buku/1592000770">1592000770</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Game+Programming+with+Python%2C+Lua%2C+and+Ruby&rft.pub=Course+Technology+PTR&rft.date=2003&rft.isbn=1592000770&rft.aulast=Gutschmidt&rft.aufirst=T.&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation book">Schuytema, P.; Manyen, M. (2005). <a rel="nofollow" class="external text" href="https://archive.org/details/gamedevelopmentw0000schu"><i>Game Development with Lua</i></a>. Charles River Media. <a href="/wiki/International_Standard_Book_Number" class="mw-redirect" title="International Standard Book Number">ISBN</a> <a href="/wiki/Istimewa:Sumber_buku/1-58450-404-8" title="Istimewa:Sumber buku/1-58450-404-8">1-58450-404-8</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Game+Development+with+Lua&rft.pub=Charles+River+Media&rft.date=2005&rft.isbn=1-58450-404-8&rft.aulast=Schuytema&rft.aufirst=P.&rft.au=Manyen%2C+M.&rft_id=https%3A%2F%2Farchive.org%2Fdetails%2Fgamedevelopmentw0000schu&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation book">Jung, K.; Brown, A. (2007). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20131022235736/http://www.wrox.com/WileyCDA/WroxTitle/productCd-0470069171.html"><i>Beginning Lua Programming</i></a>. Wrox. <a href="/wiki/International_Standard_Book_Number" class="mw-redirect" title="International Standard Book Number">ISBN</a> <a href="/wiki/Istimewa:Sumber_buku/0-470-06917-1" title="Istimewa:Sumber buku/0-470-06917-1">0-470-06917-1</a>. Diarsipkan dari <a rel="nofollow" class="external text" href="http://www.wrox.com/WileyCDA/WroxTitle/productCd-0470069171.html">versi asli</a> tanggal 2013-10-22<span class="reference-accessdate">. Diakses tanggal <span class="nowrap">2011-07-07</span></span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Beginning+Lua+Programming&rft.pub=Wrox&rft.date=2007&rft.isbn=0-470-06917-1&rft.aulast=Jung&rft.aufirst=K.&rft.au=Brown%2C+A.&rft_id=http%3A%2F%2Fwww.wrox.com%2FWileyCDA%2FWroxTitle%2FproductCd-0470069171.html&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation journal">Quigley, Joseph (1 June 2007). <a rel="nofollow" class="external text" href="http://www.linuxjournal.com/article/9605">"A Look at Lua"</a>. <i>Linux Journal</i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Linux+Journal&rft.atitle=A+Look+at+Lua&rft.date=2007-06-01&rft.aulast=Quigley&rft.aufirst=Joseph&rft_id=http%3A%2F%2Fwww.linuxjournal.com%2Farticle%2F9605&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation web">Streicher, Martin (28 April 2006). <a rel="nofollow" class="external text" href="http://www.ibm.com/developerworks/linux/library/l-lua.html">"Embeddable scripting with Lua"</a>. <i>developerWorks</i>. <a href="/wiki/IBM" title="IBM">IBM</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=developerWorks&rft.atitle=Embeddable+scripting+with+Lua&rft.date=2006-04-28&rft.aulast=Streicher&rft.aufirst=Martin&rft_id=http%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Flinux%2Flibrary%2Fl-lua.html&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation news">Hamilton, Naomi (11 September 2008). <a rel="nofollow" class="external text" href="http://www.computerworld.com.au/article/260022/a-z_programming_languages_lua/">"The A-Z of Programming Languages: Lua"</a>. <i>Computerworld</i>. IDG.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Computerworld&rft.atitle=The+A-Z+of+Programming+Languages%3A+Lua&rft.date=2008-09-11&rft.aulast=Hamilton&rft.aufirst=Naomi&rft_id=http%3A%2F%2Fwww.computerworld.com.au%2Farticle%2F260022%2Fa-z_programming_languages_lua%2F&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span><sup class="noprint Inline-Template"><span style="white-space: nowrap;">[<i><a href="/wiki/Wikipedia:Pranala_mati" title="Wikipedia:Pranala mati"><span title=" pranala nonaktif sejak Februari 2021">pranala nonaktif permanen</span></a></i>]</span></sup> – Interview with Roberto Ierusalimschy</li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation journal">Ierusalimschy, Roberto; de Figueiredo, Luiz Henrique; Celes, Waldemar (12 May 2011). <a rel="nofollow" class="external text" href="http://queue.acm.org/detail.cfm?id=1983083">"Passing a Language through the Eye of a Needle"</a>. <i><a href="/w/index.php?title=ACM_Queue&action=edit&redlink=1" class="new" title="ACM Queue (halaman belum tersedia)">ACM Queue</a></i>. <a href="/wiki/ACM" class="mw-redirect" title="ACM">ACM</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=ACM+Queue&rft.atitle=Passing+a+Language+through+the+Eye+of+a+Needle&rft.date=2011-05-12&rft.aulast=Ierusalimschy&rft.aufirst=Roberto&rft.au=de+Figueiredo%2C+Luiz+Henrique&rft.au=Celes%2C+Waldemar&rft_id=http%3A%2F%2Fqueue.acm.org%2Fdetail.cfm%3Fid%3D1983083&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span> – How the embeddability of Lua impacted its design</li></ul> </div> <div class="mw-heading mw-heading2"><h2 id="Pranala_luar">Pranala luar</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&veaction=edit&section=7" title="Sunting bagian: Pranala luar" class="mw-editsection-visualeditor"><span>sunting</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=Lua_(bahasa_pemrograman)&action=edit&section=7" title="Sunting kode sumber bagian: Pranala luar"><span>sunting sumber</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r23035139">.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}.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}}@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}}</style><div class="side-box side-box-right plainlinks sistersitebox"><style data-mw-deduplicate="TemplateStyles:r23782729">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style> <div class="side-box-flex"> <div class="side-box-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/40px-Wikibooks-logo-en-noslogan.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/60px-Wikibooks-logo-en-noslogan.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/80px-Wikibooks-logo-en-noslogan.svg.png 2x" data-file-width="400" data-file-height="400" /></span></span></div> <div class="side-box-text plainlist"><a href="/wiki/Wikibooks" class="mw-redirect" title="Wikibooks">Wikibooks</a> memiliki buku di: <div style="margin-left:10px;"><i><a href="https://id.wikibooks.org/wiki/id:Lua_Functional_Programming" class="extiw" title="b:id:Lua Functional Programming">Lua Functional Programming</a></i></div></div></div> </div> <ul><li><span class="official-website"><span class="url"><a rel="nofollow" class="external text" href="http://www.lua.org">Situs web resmi</a></span></span></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <a rel="nofollow" class="external text" href="http://lua-users.org">lua-users.org</a> – Community website for and by users (and authors) of Lua</li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <a rel="nofollow" class="external text" href="http://www.lua.org/papers.html">Lua papers and theses</a></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <cite class="citation web">Fieldhouse, Keith (16 February 2006). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20060312124121/http://www.onlamp.com/pub/a/onlamp/2006/02/16/introducing-lua.html">"Introducing Lua"</a>. <i>ONLamp.com</i>. O'Reilly Media. Diarsipkan dari <a rel="nofollow" class="external text" href="http://www.onlamp.com/pub/a/onlamp/2006/02/16/introducing-lua.html">versi asli</a> tanggal 2006-03-12<span class="reference-accessdate">. Diakses tanggal <span class="nowrap">2011-07-07</span></span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=ONLamp.com&rft.atitle=Introducing+Lua&rft.date=2006-02-16&rft.aulast=Fieldhouse&rft.aufirst=Keith&rft_id=http%3A%2F%2Fwww.onlamp.com%2Fpub%2Fa%2Fonlamp%2F2006%2F02%2F16%2Fintroducing-lua.html&rfr_id=info%3Asid%2Fid.wikipedia.org%3ALua+%28bahasa+pemrograman%29" class="Z3988"><span style="display:none;"> </span></span></li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <a rel="nofollow" class="external text" href="http://www.eluaproject.net/en_overview.html">eLua – Embedded Lua</a> <a rel="nofollow" class="external text" href="https://web.archive.org/web/20110723114641/http://www.eluaproject.net/en_overview.html">Diarsipkan</a> 2011-07-23 di <a href="/wiki/Wayback_Machine" title="Wayback Machine">Wayback Machine</a>.</li> <li><span style="font-size:0.95em; font-weight:bold; color:#777; cursor:help;" title="Bahasa Inggris" lang="Inggris">(Inggris)</span> <a rel="nofollow" class="external text" href="http://luaforge.net">Projects in Lua</a> <a rel="nofollow" class="external text" href="https://web.archive.org/web/20070202005230/http://luaforge.net/">Diarsipkan</a> 2007-02-02 di <a href="/wiki/Wayback_Machine" title="Wayback Machine">Wayback Machine</a>.</li></ul> <div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r23782733">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}</style><style data-mw-deduplicate="TemplateStyles:r25847331">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}</style></div><div role="navigation" class="navbox" aria-labelledby="Bahasa_pemrograman" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><style data-mw-deduplicate="TemplateStyles:r18590415">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}.mw-parser-output .infobox .navbar{font-size:100%}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-lihat"><a href="/wiki/Templat:Bahasa_pemrograman" title="Templat:Bahasa pemrograman"><abbr title="Lihat templat ini">l</abbr></a></li><li class="nv-bicara"><a href="/w/index.php?title=Pembicaraan_Templat:Bahasa_pemrograman&action=edit&redlink=1" class="new" title="Pembicaraan Templat:Bahasa pemrograman (halaman belum tersedia)"><abbr title="Diskusikan templat ini">b</abbr></a></li><li class="nv-sunting"><a class="external text" href="https://id.wikipedia.org/w/index.php?title=Templat:Bahasa_pemrograman&action=edit"><abbr title="Sunting templat ini">s</abbr></a></li></ul></div><div id="Bahasa_pemrograman" style="font-size:114%;margin:0 4em"><a href="/wiki/Bahasa_pemrograman" title="Bahasa pemrograman">Bahasa pemrograman</a></div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div> <ul><li><a href="/w/index.php?title=Garis_waktu_bahasa_pemrograman&action=edit&redlink=1" class="new" title="Garis waktu bahasa pemrograman (halaman belum tersedia)">Garis waktu</a></li> <li><a href="/w/index.php?title=Perbandingan_bahasa_pemrograman&action=edit&redlink=1" class="new" title="Perbandingan bahasa pemrograman (halaman belum tersedia)">Perbandingan</a></li> <li><a href="/w/index.php?title=Sejarah_bahasa_pemrograman&action=edit&redlink=1" class="new" title="Sejarah bahasa pemrograman (halaman belum tersedia)">Sejarah</a></li></ul> </div></td></tr><tr><td colspan="2" class="navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/w/index.php?title=APL_(bahasa_pemrograman)&action=edit&redlink=1" class="new" title="APL (bahasa pemrograman) (halaman belum tersedia)">APL</a></li> <li><a href="/wiki/Bahasa_rakitan" title="Bahasa rakitan">Assembly</a></li> <li><a href="/wiki/BASIC" title="BASIC">BASIC</a></li> <li><a href="/wiki/C_(bahasa_pemrograman)" title="C (bahasa pemrograman)">C</a></li> <li><a href="/wiki/C%2B%2B" title="C++">C++</a></li> <li><a href="/wiki/C_sharp" class="mw-redirect" title="C sharp">C#</a></li> <li><a href="/wiki/COBOL" title="COBOL">COBOL</a></li> <li><a href="/wiki/Fortran" title="Fortran">Fortran</a></li> <li><a href="/wiki/Go_(bahasa_pemrograman)" title="Go (bahasa pemrograman)">Go</a></li> <li><a href="/w/index.php?title=Apache_Groovy&action=edit&redlink=1" class="new" title="Apache Groovy (halaman belum tersedia)">Groovy</a></li> <li><a href="/wiki/Haskell" title="Haskell">Haskell</a></li> <li><a href="/wiki/Java" title="Java">Java</a></li> <li><a href="/wiki/JavaScript" title="JavaScript">JavaScript</a> (JS)</li> <li><a href="/wiki/Kotlin_(bahasa_pemrograman)" title="Kotlin (bahasa pemrograman)">Kotlin</a></li> <li><a href="/wiki/Lisp_(bahasa_pemrograman)" title="Lisp (bahasa pemrograman)">Lisp</a></li> <li><a class="mw-selflink selflink">Lua</a></li> <li><a href="/w/index.php?title=Objective-C&action=edit&redlink=1" class="new" title="Objective-C (halaman belum tersedia)">Objective-C</a></li> <li><a href="/w/index.php?title=OCaml&action=edit&redlink=1" class="new" title="OCaml (halaman belum tersedia)">OCaml</a></li> <li><a href="/wiki/Pascal_(bahasa_pemrograman)" title="Pascal (bahasa pemrograman)">Pascal</a></li> <li><a href="/wiki/Perl" title="Perl">Perl</a></li> <li><a href="/wiki/PHP" title="PHP">PHP</a></li> <li><a href="/wiki/Python_(bahasa_pemrograman)" title="Python (bahasa pemrograman)">Python</a></li> <li><a href="/wiki/Ruby_(bahasa_pemrograman)" title="Ruby (bahasa pemrograman)">Ruby</a></li> <li><a href="/wiki/Rust_(bahasa_pemrograman)" title="Rust (bahasa pemrograman)">Rust</a></li> <li><a href="/w/index.php?title=Skrip_shell&action=edit&redlink=1" class="new" title="Skrip shell (halaman belum tersedia)">Shell</a></li> <li><a href="/wiki/Smalltalk" title="Smalltalk">Smalltalk</a></li> <li><a href="/wiki/Swift_(bahasa_pemrograman)" title="Swift (bahasa pemrograman)">Swift</a></li> <li><a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a></li> <li><a href="/wiki/Visual_Basic_.NET" title="Visual Basic .NET">Visual Basic .NET</a> (VB.NET)</li> <li><i><a href="/wiki/Daftar_bahasa_pemrograman" title="Daftar bahasa pemrograman">selengkapnya...</a></i></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div> <ul><li><span typeof="mw:File"><a href="/wiki/Berkas:Symbol_category_class.svg" class="mw-file-description" title="Category"><img alt="Category" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/96/Symbol_category_class.svg/16px-Symbol_category_class.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/96/Symbol_category_class.svg/23px-Symbol_category_class.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/96/Symbol_category_class.svg/31px-Symbol_category_class.svg.png 2x" data-file-width="180" data-file-height="185" /></a></span> <b><a href="/wiki/Kategori:Bahasa_pemrograman" title="Kategori:Bahasa pemrograman">Kategori</a></b></li> <li><span typeof="mw:File"><a href="/wiki/Berkas:Symbol_list_class.svg" class="mw-file-description" title="List-Class article"><img alt="List-Class article" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Symbol_list_class.svg/16px-Symbol_list_class.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Symbol_list_class.svg/23px-Symbol_list_class.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/db/Symbol_list_class.svg/31px-Symbol_list_class.svg.png 2x" data-file-width="180" data-file-height="185" /></a></span> <b>Daftar</b> <ul><li><a href="/wiki/Daftar_bahasa_pemrograman" title="Daftar bahasa pemrograman">Menurut alfabet</a></li> <li><a href="/w/index.php?title=Daftar_bahasa_pemrograman_menurut_jenis&action=edit&redlink=1" class="new" title="Daftar bahasa pemrograman menurut jenis (halaman belum tersedia)">Menurut kategori</a></li> <li><a href="/w/index.php?title=Daftar_muatan_bahasa_pemrograman&action=edit&redlink=1" class="new" title="Daftar muatan bahasa pemrograman (halaman belum tersedia)">Menurut muatan</a></li> <li><a href="/w/index.php?title=Bahasa_pemrograman_yang_didasarkan_dari_bahasa_non-Inggris&action=edit&redlink=1" class="new" title="Bahasa pemrograman yang didasarkan dari bahasa non-Inggris (halaman belum tersedia)">bahasa non-Inggris</a></li></ul></li></ul> </div></td></tr></tbody></table></div> <div class="navbox-styles"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r23782733"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r25847331"></div><div role="navigation" class="navbox authority-control" aria-labelledby="Pengawasan_otoritas_frameless_&#124;text-top_&#124;10px_&#124;alt=Sunting_ini_di_Wikidata_&#124;link=https&#58;//www.wikidata.org/wiki/Q207316#identifiers&#124;Sunting_ini_di_Wikidata" style="padding:3px"><table class="nowraplinks hlist mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Pengawasan_otoritas_frameless_&#124;text-top_&#124;10px_&#124;alt=Sunting_ini_di_Wikidata_&#124;link=https&#58;//www.wikidata.org/wiki/Q207316#identifiers&#124;Sunting_ini_di_Wikidata" style="font-size:114%;margin:0 4em"><a href="/wiki/Bantuan:Pengawasan_otoritas" title="Bantuan:Pengawasan otoritas">Pengawasan otoritas</a> <span class="mw-valign-text-top" typeof="mw:File/Frameless"><a href="https://www.wikidata.org/wiki/Q207316#identifiers" title="Sunting ini di Wikidata"><img alt="Sunting ini di Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Umum</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><span class="uid"><a rel="nofollow" class="external text" href="https://d-nb.info/gnd/7547043-3">Integrated Authority File (Jerman)</a></span></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Perpustakaan nasional</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><span class="uid"><a rel="nofollow" class="external text" href="https://catalogue.bnf.fr/ark:/12148/cb166522948">Prancis</a> <a rel="nofollow" class="external text" href="https://data.bnf.fr/ark:/12148/cb166522948">(data)</a></span></li> <li><span class="uid"><a rel="nofollow" class="external text" href="https://id.loc.gov/authorities/subjects/sh2004007514">Amerika Serikat</a></span></li></ul> </div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐5dc468848‐l8rtl Cached time: 20241124010802 Cache expiry: 82321 Reduced expiry: true Complications: [show‐toc] CPU time usage: 0.509 seconds Real time usage: 0.887 seconds Preprocessor visited node count: 1908/1000000 Post‐expand include size: 64749/2097152 bytes Template argument size: 4970/2097152 bytes Highest expansion depth: 18/100 Expensive parser function count: 8/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 23560/5000000 bytes Lua time usage: 0.306/10.000 seconds Lua memory usage: 5704086/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 800.994 1 -total 42.56% 340.871 3 Templat:Infobox 38.64% 309.469 1 Templat:Infobox_programming_language 15.83% 126.810 1 Templat:Infobox_software/simple 12.65% 101.293 1 Templat:Bahasa_pemrograman 12.12% 97.089 1 Templat:Navbox 11.02% 88.231 2 Templat:Wikidata 4.74% 37.951 1 Templat:IPAc-en 4.00% 32.015 1 Templat:Authority_control 3.39% 27.156 7 Templat:Cite_book --> <!-- Saved in parser cache with key idwiki:pcache:idhash:744336-0!canonical and timestamp 20241124010802 and revision id 26551945. 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="">Diperoleh dari "<a dir="ltr" href="https://id.wikipedia.org/w/index.php?title=Lua_(bahasa_pemrograman)&oldid=26551945">https://id.wikipedia.org/w/index.php?title=Lua_(bahasa_pemrograman)&oldid=26551945</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Istimewa:Daftar_kategori" title="Istimewa:Daftar kategori">Kategori</a>: <ul><li><a href="/wiki/Kategori:Halaman_dengan_sel_data_kotak_info_yang_dihiraukan" title="Kategori:Halaman dengan sel data kotak info yang dihiraukan">Halaman dengan sel data kotak info yang dihiraukan</a></li><li><a href="/wiki/Kategori:Bahasa_pemrograman" title="Kategori:Bahasa pemrograman">Bahasa pemrograman</a></li><li><a href="/wiki/Kategori:Perangkat_lunak_bebas" title="Kategori:Perangkat lunak bebas">Perangkat lunak bebas</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Kategori tersembunyi: <ul><li><a href="/wiki/Kategori:Halaman_dengan_argumen_ganda_di_pemanggilan_templat" title="Kategori:Halaman dengan argumen ganda di pemanggilan templat">Halaman dengan argumen ganda di pemanggilan templat</a></li><li><a href="/wiki/Kategori:Galat_CS1:_ISBN" title="Kategori:Galat CS1: ISBN">Galat CS1: ISBN</a></li><li><a href="/wiki/Kategori:Artikel_mengandung_aksara_Portugis" title="Kategori:Artikel mengandung aksara Portugis">Artikel mengandung aksara Portugis</a></li><li><a href="/wiki/Kategori:Artikel_dengan_pranala_luar_nonaktif" title="Kategori:Artikel dengan pranala luar nonaktif">Artikel dengan pranala luar nonaktif</a></li><li><a href="/wiki/Kategori:Artikel_dengan_pranala_luar_nonaktif_permanen" title="Kategori:Artikel dengan pranala luar nonaktif permanen">Artikel dengan pranala luar nonaktif permanen</a></li><li><a href="/wiki/Kategori:Situs_web_resmi_berbeda_dengan_Wikidata_dan_Wikipedia" title="Kategori:Situs web resmi berbeda dengan Wikidata dan Wikipedia">Situs web resmi berbeda dengan Wikidata dan Wikipedia</a></li><li><a href="/wiki/Kategori:Templat_webarchive_tautan_wayback" title="Kategori:Templat webarchive tautan wayback">Templat webarchive tautan wayback</a></li><li><a href="/wiki/Kategori:Artikel_Wikipedia_dengan_penanda_GND" title="Kategori:Artikel Wikipedia dengan penanda GND">Artikel Wikipedia dengan penanda GND</a></li><li><a href="/wiki/Kategori:Artikel_Wikipedia_dengan_penanda_BNF" title="Kategori:Artikel Wikipedia dengan penanda BNF">Artikel Wikipedia dengan penanda BNF</a></li><li><a href="/wiki/Kategori:Artikel_Wikipedia_dengan_penanda_LCCN" title="Kategori:Artikel Wikipedia dengan penanda LCCN">Artikel Wikipedia dengan penanda LCCN</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"> Halaman ini terakhir diubah pada 22 November 2024, pukul 01.01.</li> <li id="footer-info-copyright">Teks tersedia di bawah <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Lisensi Atribusi-BerbagiSerupa Creative Commons</a>; ketentuan tambahan mungkin berlaku. Lihat <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Ketentuan Penggunaan</a> untuk rincian lebih lanjut.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Kebijakan privasi</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:Tentang">Tentang Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:Penyangkalan_umum">Penyangkalan</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Kode Etik</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Pengembang</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/id.wikipedia.org">Statistik</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Pernyataan kuki</a></li> <li id="footer-places-mobileview"><a href="//id.m.wikipedia.org/w/index.php?title=Lua_(bahasa_pemrograman)&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Tampilan seluler</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-f69cdc8f6-bgqhr","wgBackendResponseTime":170,"wgPageParseReport":{"limitreport":{"cputime":"0.509","walltime":"0.887","ppvisitednodes":{"value":1908,"limit":1000000},"postexpandincludesize":{"value":64749,"limit":2097152},"templateargumentsize":{"value":4970,"limit":2097152},"expansiondepth":{"value":18,"limit":100},"expensivefunctioncount":{"value":8,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":23560,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 800.994 1 -total"," 42.56% 340.871 3 Templat:Infobox"," 38.64% 309.469 1 Templat:Infobox_programming_language"," 15.83% 126.810 1 Templat:Infobox_software/simple"," 12.65% 101.293 1 Templat:Bahasa_pemrograman"," 12.12% 97.089 1 Templat:Navbox"," 11.02% 88.231 2 Templat:Wikidata"," 4.74% 37.951 1 Templat:IPAc-en"," 4.00% 32.015 1 Templat:Authority_control"," 3.39% 27.156 7 Templat:Cite_book"]},"scribunto":{"limitreport-timeusage":{"value":"0.306","limit":"10.000"},"limitreport-memusage":{"value":5704086,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-5dc468848-l8rtl","timestamp":"20241124010802","ttl":82321,"transientcontent":true}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Lua (bahasa pemrograman)","url":"https:\/\/id.wikipedia.org\/wiki\/Lua_(bahasa_pemrograman)","sameAs":"http:\/\/www.wikidata.org\/entity\/Q207316","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q207316","author":{"@type":"Organization","name":"Kontributor dari proyek Wikimedia."},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2011-07-07T07:53:36Z","dateModified":"2024-11-22T01:01:53Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/c\/cf\/Lua-Logo.svg","headline":"bahasa pemograman"}</script> </body> </html>