.bal

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.

218.0K
total occurrences
102.7K
since 2019 (47.1%)
1970–2023
years active

Case variants in archive: .bal (216.7K), .BAL (1.3K), .Bal (5) — aggregated above.

Attribution status

This extension is attributed to Ballerina; Ballerina as primary by 2 authoritative claims.

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

Disagree or have a correction? Open a labelling issue.

Claimants (2)

Languages that list .bal among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
Ballerinalinguistprimary
Ballerinawikidataprimary

Wikidata says… (1)

File formats, image formats, audio codecs and other non-PL entities that claim .bal 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
Red Sector Demo-Maker vector-ball object Q105858792
file format
file formatapplication/octet-streamUse as new PL ↗

SWH-mined examples (2)

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.
function-overloading.bal · 156 B · seen 106× in SWH
predicted: Ballerina via unique-primary
swh:1:cnt:2f75b94ec17f9f72fa0168a9ddba326c4671d1ec;origin=https://github.com/sanjiva/ballerina;anchor=swh:1:rev:8973f721a89d76449eb306fe376aaa816dc230aa;path=/tests/ballerina-unit-test/src/test/resources/test-src/functions/function-overloading.bal
Open in SWH · Raw bytes
sealed_record_literals.bal · 426 B · seen 72× in SWH
predicted: Ballerina via unique-primary
swh:1:cnt:a2abcd3be1ea8db4ee0e6c3475ce2fe29fdb264f;origin=https://github.com/sanjiva/ballerina;anchor=swh:1:rev:a7d397a529f0768ffb48f6cbcb6d7fbbe8795ebc;path=/tests/ballerina-unit-test/src/test/resources/test-src/record/sealed_record_literals.bal
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .bal is, request a fresh mining run.
(or open the pre-filled issue directly)