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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Multi-Stage Code Translation using LLMs for Enhanced Program Transformation

International Research Journal of Modernization in Engineering Technology and Science
Real-time simulation and control systems
article

Multi-Stage Code Translation using LLMs for Enhanced Program Transformation

article en

Abstract

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.

International Research Journal of Modernization in Engineering Technology and Science
Openalex Percentile: Top 75%
Real-time simulation and control systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.