.lua

1 claimant 1 primary 0 secondary unambiguous primary

SWH popularity

From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.

22.8M
total occurrences
6.2M
since 2019 (27.0%)
1970–2023
years active

Case variants in archive: .lua (22.8M), .LUA (4.4K), .Lua (4.4K), .LuA (2), .LUa (2), .luA (1) — aggregated above.

Attribution status

This extension is attributed to Lua; Lua; Lua as primary by 3 authoritative claims.

Authoritative sources: ✓ Linguist ✓ Pygments ✓ Wikidata · Q207316 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (3)

Languages that list .lua among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Lualinguistprimary
Luapygmentsprimary
Luawikidataprimary

Wikidata says… (1)

File formats, image formats, audio codecs and other non-PL entities that claim .lua on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
Lua source file Q111440583
file format
file formatapplication/x-lua; text/x-luaUse as new PL ↗

SWH-mined examples (3)

Real archived programs with this extension, byte-verified against the SWH archive. Useful for deciding what this extension actually is when the attribution is uncertain.
LaunchInstall.lua · 1360 B · seen 18832× in SWH
predicted: Lua via unique-primary
swh:1:cnt:0ca3acacf9e7e7b70231baa011c93b91c4ef1aa2;origin=https://github.com/PathOfBuildingCommunity/PathOfBuilding;anchor=swh:1:rev:9d77d8caa7565cca82d474d78a702cf61d29be76;path=/src/LaunchInstall.lua
Open in SWH · Raw bytes
clear-smoke.lua · 454 B · seen 7132× in SWH
predicted: Lua via unique-primary
swh:1:cnt:987ab40365440347ede593d5969f1a562a453306;origin=https://github.com/vorsgren/DFmark-linux;anchor=swh:1:rev:9e1950fc1ff57629a2a492bec617bf52006f9a47;path=/df_linux/hack/scripts/clear-smoke.lua
Open in SWH · Raw bytes
remove-wear.lua · 1004 B · seen 2310× in SWH
predicted: Lua via unique-primary
swh:1:cnt:72e92b0a5fe779391e29c98a69f739e80653dcd2;origin=https://github.com/DFHack/scripts;anchor=swh:1:rev:b0fe5172ff1ad74162ccdb0f161c88ddf7c40270;path=/remove-wear.lua
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .lua is, request a fresh mining run.
(or open the pre-filled issue directly)