A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languages
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
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
- 2022A Systematic Evaluation of Large Language Models of Codecited by 363
- 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 324
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 300
- 2020Query-Key Normalization for Transformerscited by 280
- 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Proverscited by 168
- 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
- 2022Large Language Models Meet NL2Code: A Surveycited by 138
30 more
- 2020Task-Oriented Dialogue as Dataflow Synthesiscited by 122
- 2022CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generationcited by 87
- 2021Software Engineering for AI-Based Systems: A Surveycited by 69
- 2021SketchGen: Generating Constrained CAD Sketchescited by 68
- 2023Harnessing the Power of Large Language Models for Natural Language to First-Order Logic Translationcited by 59
- 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
- 2022When Language Model Meets Private Librarycited by 54
- 2020DAVE: Deriving Automatically Verilog from Englishcited by 48
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 47
- 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMscited by 45
- 2024Language Models for Code Completion: A Practical Evaluationcited by 39
- 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 39
- 2024Data is all you need: Finetuning LLMs for Chip Design via an Automated design-data augmentation frameworkcited by 36
- 2023ChatGPT for Programming Numerical Methodscited by 26
- 2024Rome was Not Built in a Single Step: Hierarchical Prompting for LLM-based Chip Designcited by 24
- 2021CoDesc: A Large Code-Description Parallel Datasetcited by 23
- 2024IRCoder: Intermediate Representations Make Language Models Robust Multilingual Code Generatorscited by 23
- 2023Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generationcited by 22
- 2023HPC-GPT: Integrating Large Language Model for High-Performance Computingcited by 22
- 2024LLM4PLC: Harnessing Large Language Models for Verifiable Programming of PLCs in Industrial Control Systemscited by 21
- 2024LLM4SecHW: Leveraging Domain Specific Large Language Model for Hardware Debuggingcited by 18
- 2024Verified Code Transpilation with LLMscited by 15
- 2023CodeFuse-13B: A Pretrained Multi-lingual Code Large Language Modelcited by 14
- 2024DocCGen: Document-based Controlled Code Generationcited by 11
- 2024Python is Not Always the Best Choice: Embracing Multilingual Program of Thoughtscited by 8
- 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understandingcited by 6
- 2024Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languagescited by 6
- 2024On the effectiveness of Large Language Models for GitHub Workflowscited by 5
- 2022Expansion and evolution of the R programming languagecited by 3
- 2022What If: Generating Code to Answer Simulation Questionscited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 27; 2026: 37.
66 papers.
Sort:
By area:
- 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 69
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 42
- 2026GUI Agents for Continual Game Generationcited by 18
- 2025Large Language Models (LLMs) for Source Code Analysis: applications, models and datasetscited by 16
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 12
- 2025MicroRemed: Benchmarking LLMs in Microservices Remediationcited by 11
- 2025Towards Formal Verification of LLM-Generated Code from Natural Language Promptscited by 8
- 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Aheadcited by 8
- 2025SPIO: Ensemble and Selective Strategies via LLM-Based Multi-Agent Planning in Automated Data Sciencecited by 7
- 2025Beyond the Prompt: An Empirical Study of Cursor Rulescited by 7
- 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specificationscited by 5
- 2026KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problemcited by 5
38 more
- 2024Harnessing Language for Coordination: A Framework and Benchmark for LLM-Driven Multi-Agent Controlcited by 4
- 2025Improving Existing Optimization Algorithms with LLMscited by 4
- 2025TFHE-Coder: Evaluating LLM-agentic Fully Homomorphic Encryption Code Generationcited by 4
- 2025Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generationcited by 4
- 2026Breaking the Static Graph: Context-Aware Traversal for Robust Retrieval-Augmented Generationcited by 4
- 2026Are LLMs Reliable Code Reviewers? Systematic Overcorrection in Requirement Conformance Judgementcited by 4
- 2026E2E-REME: Towards End-to-End Microservices Auto-Remediation via Experience-Simulation Reinforcement Fine-Tuningcited by 4
- 2025LLM-Supported Natural Language to Bash Translationcited by 3
- 2025"To Survive, I Must Defect": Jailbreaking LLMs via the Game-Theory Scenarioscited by 3
- 2026FlexLLM: Composable HLS Library for Flexible Hybrid LLM Accelerator Designcited by 3
- 2026Semantic Consensus Decoding: Backdoor Defense for Verilog Code Generationcited by 3
- 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesiscited by 3
- 2025Large Language Models for Water Distribution Systems Modeling and Decision-Makingcited by 2
- 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directionscited by 2
- 2026Automating Structural Analysis Across Multiple Software Platforms Using Large Language Modelscited by 2
- 2025Randomly Sampled Language Reasoning Problems Elucidate Limitations of In-Context Learningcited by 1
- 2025Using (Not-so) Large Language Models to Generate Simulation Models in a Formal DSL: A Study on Reaction Networkscited by 1
- 2025Evaluating the Process Modeling Abilities of Large Language Models -- Preliminary Foundations and Resultscited by 1
- 2025Real-Time World Crafting: Generating Structured Game Behaviors from Natural Language with Large Language Modelscited by 1
- 2025Multi-Agent Systems for Dataset Adaptation in Software Engineering: Capabilities, Limitations, and Future Directionscited by 1
- 2025How Do Agentic AI Systems Address Performance Optimizations? A BERTopic-Based Analysis of Pull Requestscited by 1
- 2026CAM: A Causality-based Analysis Framework for Multi-Agent Code Generation Systemscited by 1
- 2026Bridging the Knowledge Void: Inference-time Acquisition of Unfamiliar Programming Languages for Coding Taskscited by 1
- 2026Kirin: Improving ANN efficiency with SNN Hybridizationcited by 1
- 2026Leveraging LLMs to support co-evolution between definitions and instances of textual DSLs: A Systematic Evaluationcited by 1
- 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Searchcited by 1
- 2026Persistent Cross-Attempt State Optimization for Repository-Level Code Generationcited by 1
- 2026Syntax Without Semantics: Teaching Large Language Models to Code in an Unseen Languagecited by 1
- 2026Position: Natural Language Should Not Fully Replace Formal Languagescited by 1
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiencycited by 1
- 2025Improving the End-to-End Efficiency of Offline Inference for Multi-LLM Applications Based on Sampling and Simulationcited by 0
- 2025Synthetic Function Demonstrations Improve Generation in Low-Resource Programming Languagescited by 0
- 2025StaAgent: An Agentic Framework for Testing Static Analyzerscited by 0
- 2025MultiPL-MoE: Multi-Programming-Lingual Extension of Large Language Models through Hybrid Mixture-of-Expertscited by 0
- 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASMLcited by 0
- 2026Prompt Driven Development with Claude Code: Building a Complete TUI Framework for the Ring Programming Languagecited by 0
- 2026CangjieBench: Benchmarking LLMs on a Low-Resource General-Purpose Programming Languagecited by 0
- 2026Toward Executable Repository-Level Code Generation via Environment Alignmentcited by 0
50 most cited of 66 All 66 (JSON)
- 2026Walking the Embedding Space: Datastore Extraction from Multimodal RAG1 Oct 2026
- 2026The Uneven Decline of Collective Knowledge Production: Evidence from Stack Overflow After Generative AI28 Sep 2026
- 2026CodeSkill: Latent Skill Abstraction for Long-Horizon Code Agents27 Sep 2026
- 2026BC-Bench: Evaluating Agentic Engineering in a Domain-Specific Language for ERP21 Aug 2026
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency14 Aug 2026
- 2026Training-Free Token-Level Steering for LLM Personalized Co-Writing6 Aug 2026
- 2026Learning Context-Free Grammars for Grammar-Constrained Decoding via Declarative Agentic Programming with Guarantees6 Aug 2026
- 2026AI-Generated PowerShell Malware: An Experimental Framework and Dataset29 Jun 2026
- 2026SrDetection: A Self-Referential Framework for Data Leakage Detection in Code Large Language Models29 Jun 2026
- 2026GUI Agents for Continual Game Generation27 May 2026
- 2026A Tertiary Review of Large Language Model-Based Code Generating Tasks: Trends, Challenges, and Future Directions25 May 2026
- 2026AutoVecCoder: Teaching LLMs to Generate Explicitly Vectorized Code18 May 2026
38 more
- 2026Syntax Without Semantics: Teaching Large Language Models to Code in an Unseen Language15 May 2026
- 2026Position: Natural Language Should Not Fully Replace Formal Languages10 May 2026
- 2026On the Hardness of Junking LLMs6 May 2026
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generation2 May 2026
- 2026QASM-Eval: A Dataset to Train and Evaluate LLMs on OpenQASM-3 Beyond Quantum Circuits28 Apr 2026
- 2026Learning Reasoning World Models for Parallel Code22 Apr 2026
- 2026Compressing Sequences in the Latent Embedding Space: K-Token Merging for Large Language Models16 Apr 2026
- 2026E2E-REME: Towards End-to-End Microservices Auto-Remediation via Experience-Simulation Reinforcement Fine-Tuning13 Apr 2026
- 2026From Intent to AI Pipelines: A Controlled Agentic Framework for Non-AI Expert Scientists10 Apr 2026
- 2026Automating Structural Analysis Across Multiple Software Platforms Using Large Language Models10 Apr 2026
- 2026Persistent Cross-Attempt State Optimization for Repository-Level Code Generation4 Apr 2026
- 2026Toward Executable Repository-Level Code Generation via Environment Alignment4 Apr 2026
- 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Search23 Mar 2026
- 2026CangjieBench: Benchmarking LLMs on a Low-Resource General-Purpose Programming Language15 Mar 2026
- 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesis11 Mar 2026
- 2026Are LLMs Reliable Code Reviewers? Systematic Overcorrection in Requirement Conformance Judgement28 Feb 2026
- 2026KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problem23 Feb 2026
- 2026Leveraging LLMs to support co-evolution between definitions and instances of textual DSLs: A Systematic Evaluation12 Feb 2026
- 2026Kirin: Improving ANN efficiency with SNN Hybridization9 Feb 2026
- 2026Semantic Consensus Decoding: Backdoor Defense for Verilog Code Generation4 Feb 2026
- 2026CAM: A Causality-based Analysis Framework for Multi-Agent Code Generation Systems2 Feb 2026
- 2026Breaking the Static Graph: Context-Aware Traversal for Robust Retrieval-Augmented Generation2 Feb 2026
- 2026Prompt Driven Development with Claude Code: Building a Complete TUI Framework for the Ring Programming Language24 Jan 2026
- 2026FlexLLM: Composable HLS Library for Flexible Hybrid LLM Accelerator Design22 Jan 2026
- 2026Bridging the Knowledge Void: Inference-time Acquisition of Unfamiliar Programming Languages for Coding Tasks16 Jan 2026
- 2025How Do Agentic AI Systems Address Performance Optimizations? A BERTopic-Based Analysis of Pull Requests31 Dec 2025
- 2025Beyond the Prompt: An Empirical Study of Cursor Rules21 Dec 2025
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Coding30 Nov 2025
- 2025Multi-Agent Systems for Dataset Adaptation in Software Engineering: Capabilities, Limitations, and Future Directions26 Nov 2025
- 2025"To Survive, I Must Defect": Jailbreaking LLMs via the Game-Theory Scenarios20 Nov 2025
- 2025MicroRemed: Benchmarking LLMs in Microservices Remediation3 Nov 2025
- 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Ahead29 Oct 2025
- 2025Real-Time World Crafting: Generating Structured Game Behaviors from Natural Language with Large Language Models19 Oct 2025
- 2025Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generation12 Oct 2025
- 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASML15 Sep 2025
- 2025MultiPL-MoE: Multi-Programming-Lingual Extension of Large Language Models through Hybrid Mixture-of-Experts22 Aug 2025
- 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specifications17 Aug 2025
- 2025StaAgent: An Agentic Framework for Testing Static Analyzers20 Jul 2025
50 newest of 66 All 66 (JSON)
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 42
- 2026GUI Agents for Continual Game Generationcited by 18
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 12
- 2024Harnessing Language for Coordination: A Framework and Benchmark for LLM-Driven Multi-Agent Controlcited by 4
- 2025TFHE-Coder: Evaluating LLM-agentic Fully Homomorphic Encryption Code Generationcited by 4
- 2025Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generationcited by 4
- 2025Multi-Agent Systems for Dataset Adaptation in Software Engineering: Capabilities, Limitations, and Future Directionscited by 1
- 2025How Do Agentic AI Systems Address Performance Optimizations? A BERTopic-Based Analysis of Pull Requestscited by 1
- 2026CAM: A Causality-based Analysis Framework for Multi-Agent Code Generation Systemscited by 1
- 2025StaAgent: An Agentic Framework for Testing Static Analyzerscited by 0
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generationcited by 0
- 2026From Intent to AI Pipelines: A Controlled Agentic Framework for Non-AI Expert Scientistscited by 0
12 most cited of 15 All 15 (JSON)
- 2026CodeSkill: Latent Skill Abstraction for Long-Horizon Code Agents27 Sep 2026
- 2026BC-Bench: Evaluating Agentic Engineering in a Domain-Specific Language for ERP21 Aug 2026
- 2026Learning Context-Free Grammars for Grammar-Constrained Decoding via Declarative Agentic Programming with Guarantees6 Aug 2026
- 2026GUI Agents for Continual Game Generation27 May 2026
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generation2 May 2026
- 2026From Intent to AI Pipelines: A Controlled Agentic Framework for Non-AI Expert Scientists10 Apr 2026
- 2026CAM: A Causality-based Analysis Framework for Multi-Agent Code Generation Systems2 Feb 2026
- 2025How Do Agentic AI Systems Address Performance Optimizations? A BERTopic-Based Analysis of Pull Requests31 Dec 2025
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Coding30 Nov 2025
- 2025Multi-Agent Systems for Dataset Adaptation in Software Engineering: Capabilities, Limitations, and Future Directions26 Nov 2025
- 2025Understanding and Bridging the Planner-Coder Gap: A Systematic Study on the Robustness of Multi-Agent Systems for Code Generation12 Oct 2025
- 2025StaAgent: An Agentic Framework for Testing Static Analyzers20 Jul 2025
12 newest of 15 All 15 (JSON)
- 2025MicroRemed: Benchmarking LLMs in Microservices Remediationcited by 11
- 2025SPIO: Ensemble and Selective Strategies via LLM-Based Multi-Agent Planning in Automated Data Sciencecited by 7
- 2025Randomly Sampled Language Reasoning Problems Elucidate Limitations of In-Context Learningcited by 1
- 2026Learning Reasoning World Models for Parallel Codecited by 0
- 2026Learning Reasoning World Models for Parallel Code22 Apr 2026
- 2025MicroRemed: Benchmarking LLMs in Microservices Remediation3 Nov 2025
- 2025SPIO: Ensemble and Selective Strategies via LLM-Based Multi-Agent Planning in Automated Data Science30 Mar 2025
- 2025Randomly Sampled Language Reasoning Problems Elucidate Limitations of In-Context Learning6 Jan 2025
- 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 69
- 2025Large Language Models (LLMs) for Source Code Analysis: applications, models and datasetscited by 16
- 2025Towards Formal Verification of LLM-Generated Code from Natural Language Promptscited by 8
- 2025Large Language Model for Verilog Code Generation: Literature Review and the Road Aheadcited by 8
- 2025Beyond the Prompt: An Empirical Study of Cursor Rulescited by 7
- 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specificationscited by 5
- 2025Improving Existing Optimization Algorithms with LLMscited by 4
- 2026Are LLMs Reliable Code Reviewers? Systematic Overcorrection in Requirement Conformance Judgementcited by 4
- 2026E2E-REME: Towards End-to-End Microservices Auto-Remediation via Experience-Simulation Reinforcement Fine-Tuningcited by 4
- 2025LLM-Supported Natural Language to Bash Translationcited by 3
- 2026FlexLLM: Composable HLS Library for Flexible Hybrid LLM Accelerator Designcited by 3
- 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesiscited by 3
12 most cited of 39 All 39 (JSON)
- 2026The Uneven Decline of Collective Knowledge Production: Evidence from Stack Overflow After Generative AI28 Sep 2026
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency14 Aug 2026
- 2026Training-Free Token-Level Steering for LLM Personalized Co-Writing6 Aug 2026
- 2026AI-Generated PowerShell Malware: An Experimental Framework and Dataset29 Jun 2026
- 2026SrDetection: A Self-Referential Framework for Data Leakage Detection in Code Large Language Models29 Jun 2026
- 2026A Tertiary Review of Large Language Model-Based Code Generating Tasks: Trends, Challenges, and Future Directions25 May 2026
- 2026AutoVecCoder: Teaching LLMs to Generate Explicitly Vectorized Code18 May 2026
- 2026Syntax Without Semantics: Teaching Large Language Models to Code in an Unseen Language15 May 2026
- 2026Position: Natural Language Should Not Fully Replace Formal Languages10 May 2026
- 2026QASM-Eval: A Dataset to Train and Evaluate LLMs on OpenQASM-3 Beyond Quantum Circuits28 Apr 2026
- 2026E2E-REME: Towards End-to-End Microservices Auto-Remediation via Experience-Simulation Reinforcement Fine-Tuning13 Apr 2026
- 2026Automating Structural Analysis Across Multiple Software Platforms Using Large Language Models10 Apr 2026
12 newest of 39 All 39 (JSON)