A Taxonomy of Programming Languages for Code Generation

Nishat Raihan, Christian Newman, Marcos Zampieri


Abstract
The world’s 7,000+ languages vary widely in the availability of resources for natural language processing, motivating efforts to systematically categorize them by their degree of resourcefulness. A similar disparity exists among programming languages; however, no resource-tier taxonomy has been established for code. As large language models grow increasingly capable of generating code, such a taxonomy becomes essential. To fill this gap, we present the first reproducible programming-language resource classification, grouping 646 languages into four tiers. We show that only 1.9% of languages (Tier 3, High) account for 74.6% of all tokens in seven major web-derived corpora, while 71.7% of languages (Tier 0, Scarce) contribute just 1.0%. Statistical analyses of within-tier inequality, dispersion, and distributional skew confirm that this imbalance is both extreme and systematic. Our results provide a principled framework for dataset curation and tier-aware evaluation of multilingual large language models, as well as the first quantitative picture of code availability on the web.
Anthology ID:
2026.wac-1.4
Volume:
Proceedings of the 13th Web-as-Corpus Workshop
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Pedro Ortiz Suarez, Laurie Burchell, Nikola Ljubešić, Yves Scherrer, Veronika Laippala, Vuk Dinić, Thom Vaughan
Venues:
WAC | WS
SIG:
SIGWAC
Publisher:
Association for Computational Linguistics
Note:
Pages:
37–52
Language:
URL:
https://aclanthology.org/2026.wac-1.4/
DOI:
Bibkey:
Cite (ACL):
Nishat Raihan, Christian Newman, and Marcos Zampieri. 2026. A Taxonomy of Programming Languages for Code Generation. In Proceedings of the 13th Web-as-Corpus Workshop, pages 37–52, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
A Taxonomy of Programming Languages for Code Generation (Raihan et al., WAC 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.wac-1.4.pdf