Prompting Strategies to Use LLMs for Non-English-Based Programming Languages: An Algorithmic Perspective
Year: 2026
Type: article
Abstract: Large language models (LLMs) generate high-quality code for mainstream programming languages, yet they often fail to produce executable and specification-compliant solutions when the target programming language uses non-English keywords with limited public resources. This paper proposes a five-stage interactive prompting protocol to improve convergence in Korean localized programming languages: providing documentation, assigning a language-developer role, supplying a minimal grammar and keyword summary, presenting runnable input–output examples, and iterating with error-driven debugging feedback. Instead of independent one-shot accuracy, we evaluate interaction-budgeted convergence, measured by whether a fully correct solution is reached within a fixed number of turns and how many turns are required. The results show that staged scaffolding and structured feedback substantially reduce persistent specification violations such as invented keywords, unsupported function assumptions, and irrelevant hypothesis formation, leading to faster and more reliable convergence than a minimal-feedback baseline that repeats generic revision requests. Quantitatively, we evaluate three Korean localized programming languages using an automated grader with ten test cases per task (10 points per task, 0–100 points in total), screen ten models under a 10-turn budget, and assess three top models on fifteen tasks (five algorithm categories across three languages) under a 20-turn budget.
Authors: Junseok Cheon, Seokwon Lee, Gyun Woo
Institution: Pusan National University
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
OpenAlex ID: W7160257578
