mlsanityData to 14 Oct 2026

A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languages

arXiv 2410.03981 ↗First posted 4 Oct 2024cs.SE cs.LGcited by 66

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have shown impressive capabilities in code generation for popular programming languages. However, their performance on Low-Resource Programming Languages (LRPLs) and Domain-Specific Languages (DSLs) remains a significant challenge, affecting millions of developers-3.5 million users in Rust alone-who cannot fully utilize LLM capabilities. LRPLs and DSLs encounter unique obstacles, including data scarcity and, for DSLs, specialized syntax that is poorly represented in general-purpose datasets. Addressing these challenges is crucial, as LRPLs and DSLs enhance development efficiency in specialized domains, such as finance and science. While several surveys discuss LLMs in software engineering, none focus specifically on the challenges and opportunities associated with LRPLs and DSLs. Our survey fills this gap by systematically reviewing the current state, methodologies, and challenges in leveraging LLMs for code generation in these languages. We filtered 111 papers from over 27,000 published studies between 2020 and 2024 to evaluate the capabilities and limitations of LLMs in LRPLs and DSLs. We report the LLMs used, benchmarks, and metrics for evaluation, strategies for enhancing performance, and methods for dataset collection and curation. We identified four main evaluation techniques and several metrics for assessing code generation in LRPLs and DSLs. Our analysis categorizes improvement methods into six groups and summarizes novel architectures proposed by researchers. Despite various techniques and metrics, a standard approach and benchmark dataset for evaluating code generation in LRPLs and DSLs are lacking. This survey serves as a resource for researchers and practitioners at the intersection of LLMs, software engineering, and specialized programming languages, laying the groundwork for future advancements in code generation for LRPLs and DSLs.

Key facts. Cited by 66 papers in the map (data through 14 Oct 2026). Builds on 42 of its 58 references that are in the map. First posted on arXiv 4 Oct 2024.

Builds on

42 of 58 references.

References · 42

  1. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  2. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  3. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  4. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  5. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
  6. 2022A Systematic Evaluation of Large Language Models of Codecited by 363
  7. 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 324
  8. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 300
  9. 2020Query-Key Normalization for Transformerscited by 280
  10. 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Proverscited by 168
  11. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  12. 2022Large Language Models Meet NL2Code: A Surveycited by 138
30 more
  1. 2020Task-Oriented Dialogue as Dataflow Synthesiscited by 122
  2. 2022CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generationcited by 87
  3. 2021Software Engineering for AI-Based Systems: A Surveycited by 69
  4. 2021SketchGen: Generating Constrained CAD Sketchescited by 68
  5. 2023Harnessing the Power of Large Language Models for Natural Language to First-Order Logic Translationcited by 59
  6. 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
  7. 2022When Language Model Meets Private Librarycited by 54
  8. 2020DAVE: Deriving Automatically Verilog from Englishcited by 48
  9. 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 47
  10. 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMscited by 45
  11. 2024Language Models for Code Completion: A Practical Evaluationcited by 39
  12. 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 39
  13. 2024Data is all you need: Finetuning LLMs for Chip Design via an Automated design-data augmentation frameworkcited by 36
  14. 2023ChatGPT for Programming Numerical Methodscited by 26
  15. 2024Rome was Not Built in a Single Step: Hierarchical Prompting for LLM-based Chip Designcited by 24
  16. 2021CoDesc: A Large Code-Description Parallel Datasetcited by 23
  17. 2024IRCoder: Intermediate Representations Make Language Models Robust Multilingual Code Generatorscited by 23
  18. 2023Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generationcited by 22
  19. 2023HPC-GPT: Integrating Large Language Model for High-Performance Computingcited by 22
  20. 2024LLM4PLC: Harnessing Large Language Models for Verifiable Programming of PLCs in Industrial Control Systemscited by 21
  21. 2024LLM4SecHW: Leveraging Domain Specific Large Language Model for Hardware Debuggingcited by 18
  22. 2024Verified Code Transpilation with LLMscited by 15
  23. 2023CodeFuse-13B: A Pretrained Multi-lingual Code Large Language Modelcited by 14
  24. 2024DocCGen: Document-based Controlled Code Generationcited by 11
  25. 2024Python is Not Always the Best Choice: Embracing Multilingual Program of Thoughtscited by 8
  26. 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understandingcited by 6
  27. 2024Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languagescited by 6
  28. 2024On the effectiveness of Large Language Models for GitHub Workflowscited by 5
  29. 2022Expansion and evolution of the R programming languagecited by 3
  30. 2022What If: Generating Code to Answer Simulation Questionscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 27; 2026: 37.

66 papers.

Sort:

By area:

  1. 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 69
  2. 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 42
  3. 2026GUI Agents for Continual Game Generationcited by 18
  4. 2025Large Language Models (LLMs) for Source Code Analysis: applications, models and datasetscited by 16
  5. 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 12
  6. 2025MicroRemed: Benchmarking LLMs in Microservices Remediationcited by 11
  7. 2025Towards Formal Verification of LLM-Generated Code from Natural Language Promptscited by 8
  8. 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Aheadcited by 8
  9. 2025SPIO: Ensemble and Selective Strategies via LLM-Based Multi-Agent Planning in Automated Data Sciencecited by 7
  10. 2025Beyond the Prompt: An Empirical Study of Cursor Rulescited by 7
  11. 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specificationscited by 5
  12. 2026KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problemcited by 5
38 more
  1. 2024Harnessing Language for Coordination: A Framework and Benchmark for LLM-Driven Multi-Agent Controlcited by 4
  2. 2025Improving Existing Optimization Algorithms with LLMscited by 4
  3. 2025TFHE-Coder: Evaluating LLM-agentic Fully Homomorphic Encryption Code Generationcited by 4
  4. 2025Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generationcited by 4
  5. 2026Breaking the Static Graph: Context-Aware Traversal for Robust Retrieval-Augmented Generationcited by 4
  6. 2026Are LLMs Reliable Code Reviewers? Systematic Overcorrection in Requirement Conformance Judgementcited by 4
  7. 2026E2E-REME: Towards End-to-End Microservices Auto-Remediation via Experience-Simulation Reinforcement Fine-Tuningcited by 4
  8. 2025LLM-Supported Natural Language to Bash Translationcited by 3
  9. 2025"To Survive, I Must Defect": Jailbreaking LLMs via the Game-Theory Scenarioscited by 3
  10. 2026FlexLLM: Composable HLS Library for Flexible Hybrid LLM Accelerator Designcited by 3
  11. 2026Semantic Consensus Decoding: Backdoor Defense for Verilog Code Generationcited by 3
  12. 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesiscited by 3
  13. 2025Large Language Models for Water Distribution Systems Modeling and Decision-Makingcited by 2
  14. 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directionscited by 2
  15. 2026Automating Structural Analysis Across Multiple Software Platforms Using Large Language Modelscited by 2
  16. 2025Randomly Sampled Language Reasoning Problems Elucidate Limitations of In-Context Learningcited by 1
  17. 2025Using (Not-so) Large Language Models to Generate Simulation Models in a Formal DSL: A Study on Reaction Networkscited by 1
  18. 2025Evaluating the Process Modeling Abilities of Large Language Models -- Preliminary Foundations and Resultscited by 1
  19. 2025Real-Time World Crafting: Generating Structured Game Behaviors from Natural Language with Large Language Modelscited by 1
  20. 2025Multi-Agent Systems for Dataset Adaptation in Software Engineering: Capabilities, Limitations, and Future Directionscited by 1
  21. 2025How Do Agentic AI Systems Address Performance Optimizations? A BERTopic-Based Analysis of Pull Requestscited by 1
  22. 2026CAM: A Causality-based Analysis Framework for Multi-Agent Code Generation Systemscited by 1
  23. 2026Bridging the Knowledge Void: Inference-time Acquisition of Unfamiliar Programming Languages for Coding Taskscited by 1
  24. 2026Kirin: Improving ANN efficiency with SNN Hybridizationcited by 1
  25. 2026Leveraging LLMs to support co-evolution between definitions and instances of textual DSLs: A Systematic Evaluationcited by 1
  26. 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Searchcited by 1
  27. 2026Persistent Cross-Attempt State Optimization for Repository-Level Code Generationcited by 1
  28. 2026Syntax Without Semantics: Teaching Large Language Models to Code in an Unseen Languagecited by 1
  29. 2026Position: Natural Language Should Not Fully Replace Formal Languagescited by 1
  30. 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiencycited by 1
  31. 2025Improving the End-to-End Efficiency of Offline Inference for Multi-LLM Applications Based on Sampling and Simulationcited by 0
  32. 2025Synthetic Function Demonstrations Improve Generation in Low-Resource Programming Languagescited by 0
  33. 2025StaAgent: An Agentic Framework for Testing Static Analyzerscited by 0
  34. 2025MultiPL-MoE: Multi-Programming-Lingual Extension of Large Language Models through Hybrid Mixture-of-Expertscited by 0
  35. 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASMLcited by 0
  36. 2026Prompt Driven Development with Claude Code: Building a Complete TUI Framework for the Ring Programming Languagecited by 0
  37. 2026CangjieBench: Benchmarking LLMs on a Low-Resource General-Purpose Programming Languagecited by 0
  38. 2026Toward Executable Repository-Level Code Generation via Environment Alignmentcited by 0

50 most cited of 66 All 66 (JSON)