Multi-Stage Code Translation using LLMs for Enhanced Program Transformation
This paper studies a new method for code translation with multis-sage way, using large language model, like Qwen2.5-Coder-32B-Instruct, to make better and strong program translation between different coding languages.Old methods have problems with keeping meaning and making good translation.Our new method combines direct translation, understanding and rewrite, making unit test and translation, and reverse translation steps to make sure high accuracy in computing, good readability, and same meaning.We show design and how we do this pipeline, focusing on PHP to Go translation, and listing its benefits compared to usual ways.The results show that using large language models in different steps can make more trustworthy and easier to maintain code moving between languages.
Publication Details
- Journal
- International Research Journal of Modernization in Engineering Technology and Science
- Published
- 2025-08-18
- DOI
- https://doi.org/10.56726/irjmets81913
- Primary Topic
- Real-time simulation and control systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00