Browse State-of-the-Art › Code Translation
Code Translation
54 papers with code · 2 benchmarks · 10 datasets archive 2025-07-28
Code translation is the process of converting code written in one programming language to another programming language while maintaining the same functionality. This process is also known as code conversion, source-to-source translation, or transpilation. Code translation is often performed when developers want to take advantage of new programming languages, improve code performance, or maintain legacy systems. Some common examples include translating code from Python to Java, or from JavaScript to TypeScript.
Description from the archive archive 2025-07-28.
Benchmarks archive 2025-07-28
2 leaderboard tables shown for this task, 2 with rows (a “benchmark” on this site is a table with at least one row, as on /sota), ordered by row count. “Best model” is the first row in the archive's own order at snapshot; nothing is re-ranked here and metric direction is not recorded in the archive. PwC's Trend sparklines are not in the archive, so that column is omitted.
| Dataset | Best model (first row in archive order) | Paper | Code | Syntology | Compare |
|---|---|---|---|---|---|
| CodeXGLUE - CodeTrans (2 rows) | CodeT5 | CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder... | code | Syntology ran 1 of 11 samples · 10 unverified | Compare |
| NLC2CMD (2 rows) | ChatGPT | NL2CMD: An Updated Workflow for Natural Language to Bash Commands... | code | — | Compare |
Syntology column: samples harvested from the paper's repositories and executed on synthesized fixtures; “ran” is not a correctness claim and does not order the table. A dash means no Syntology record for that paper, not a recorded non-run. Read from the graph 2026-09-24.
Libraries
Not in the archive: the export carries no per-task library table, so there is nothing to show at snapshot 2025-07-28.
Datasets archive 2025-07-28
10 datasets whose archive record lists this task, ordered by the archive's paper count.
Subtasks archive 2025-07-28
No subtask under this task in the archive's task tree.
Parent tasks archive 2025-07-28
Most implemented papers archive 2025-07-28
30 shown of 54 papers with code (100 tagged with this task in all), ordered by repositories listed in the archive, not by stars (the archive holds no stars, so PwC's “Social” and “Latest” sorts cannot be reproduced). Papers without a page here are shown as plain text.
-
5 Jun 2020 9 repositories listed Syntology ran 1 of 8 samples · 7 unverifiedWe train our model on source code from open source GitHub projects, and show that it can translate functions between C++, Java, and Python with high accuracy.
-
9 Feb 2021 7 repositories listed Syntology ran 1 of 1 samples · 0 unverifiedBenchmark datasets have a significant impact on accelerating research in programming language tasks.
-
2 Sep 2021 5 repositories listed Syntology ran 1 of 11 samples · 10 unverifiedWe present CodeT5, a unified pre-trained encoder-decoder Transformer model that better leverages the code semantics conveyed from the developer-assigned identifiers.
-
22 Sep 2020 3 repositories listed Syntology ran 1 of 15 samples · 14 unverifiedEvaluation metrics play a vital role in the growth of an area as it defines the standard of distinguishing between good and bad models.
-
16 May 2023 2 repositories listedMessage Passing Interface (MPI) plays a crucial role in distributed memory parallelization across multiple nodes.
-
15 Feb 2023 2 repositories listedFirst, we describe a state-of-the-art translation model used to generate Bash Commands from the corresponding English text.
-
26 Oct 2022 2 repositories listed Syntology ran 1 of 6 samples · 5 unverifiedUsing these benchmarks, we are able to assess the performance of code generation models in a multi-lingual fashion, and discovered generalization ability of language models on out-of-domain languages, advantages of…
-
15 Jun 2022 2 repositories listed Syntology ran 2 of 2 samples · 0 unverifiedPre-trained Generative Language models (e.
-
31 May 2022 2 repositories listedPre-trained programming language (PL) models (such as CodeT5, CodeBERT, GraphCodeBERT, etc.,) have the potential to automate software engineering tasks involving code understanding and code generation.
-
28 Feb 2022 2 repositories listedConsidering the seq2seq architecture of TranX for natural language to code translation, we identify four key components of importance: grammatical constraints, lexical preprocessing, input representations, and copy…
-
10 Mar 2021 2 repositories listedExperiments on code summarization in the English language, code generation, and code translation in seven programming languages show that PLBART outperforms or rivals state-of-the-art models.
-
15 Feb 2021 2 repositories listedRecent advances in self-supervised learning have dramatically improved the state of the art on a wide variety of tasks.
-
29 Jun 2020 2 repositories listed Syntology ran 2 of 14 samples · 12 unverifiedEmpirically, we show that composed fine-tuning improves over standard fine-tuning on two pseudocode-to-code translation datasets (3% and 6% relative).
-
11 Jun 2025 1 repository listedMSL consists of two models, a Translator and a Tester.
-
19 May 2025 1 repository listedSecond, we implement evaluation mechanisms for multiple research artifacts, including submission files, code, and models, using both precise numeric measures and more flexible LLM-based evaluation approaches.
-
21 Apr 2025 1 repository listed Syntology ran 0 of 2 samples · 2 unverified · 2 pointer-only (licence)We introduce CRUST-Bench, a dataset of 100 C repositories, each paired with manually-written interfaces in safe Rust as well as test cases that can be used to validate correctness of the transpilation.
-
7 Feb 2025 1 repository listedNatural Language to Visualization (NL2Vis) seeks to convert natural-language descriptions into visual representations of given tables, empowering users to derive insights from large-scale data.
-
19 Jan 2025 1 repository listedResults show that our method reduces the energy consumption between 23-50 % on average for code generation tasks without significantly affecting accuracy.
-
27 Dec 2024 1 repository listedTranslating legacy Fortran code into C++ is a crucial step in modernizing high-performance computing (HPC) applications.
-
18 Dec 2024 1 repository listedWe introduce \approach, a technique to adapt large models for downstream code tasks using Code Property Graphs (CPGs).
-
1 Nov 2024 1 repository listedTo achieve this goal, we introduce InterTrans, an LLM-based automated code translation approach that, in contrast to existing approaches, leverages intermediate translations across PLs to bridge the syntactic and…
-
31 Oct 2024 1 repository listedThe emergence of foundational models and generative artificial intelligence (GenAI) is poised to transform productivity in scientific computing, especially in code development, refactoring, and translating from one…
-
31 Oct 2024 1 repository listed Syntology ran 0 of 1 samples · 1 unverified · 1 pointer-only (licence)Several rule-based transpilers have been designed to automate code translation between different pairs of PLs.
-
10 Jul 2024 1 repository listed Syntology ran 4 of 4 samples · 0 unverified · 4 pointer-only (licence)Software migration is garnering increasing attention with the evolution of software and society.
-
28 Jun 2024 1 repository listed Syntology ran 6 of 7 samples · 1 unverified · 7 pointer-only (licence)To address this problem, we propose Web2Code, a benchmark consisting of a new large-scale webpage-to-code dataset for instruction tuning and an evaluation framework for the webpage understanding and HTML code…
-
23 Apr 2024 1 repository listed Syntology ran 1 of 2 samples · 1 unverified · 2 pointer-only (licence)This paper investigates diverse LLMs and learning-based transpilers for automated code translation tasks, finding that: although certain LLMs have outperformed current transpilers, they still have some accuracy issues,…
-
25 Mar 2024 1 repository listedCode translation between programming languages is a long-existing and critical task in software engineering, facilitating the modernization of legacy systems, ensuring cross-platform compatibility, and enhancing…
-
23 Feb 2024 1 repository listed Syntology ran 5 of 5 samples · 0 unverified · 5 pointer-only (licence)To address the constraints of limited input KG data, ChatEA introduces a KG-code translation module that translates KG structures into a format understandable by LLMs, thereby allowing LLMs to utilize their extensive…
-
3 Feb 2024 1 repository listed Syntology ran 3 of 5 samples · 2 unverified · 5 pointer-only (licence)This paper presents EffiBench, a benchmark with 1, 000 efficiency-critical coding problems to assess the efficiency of code generated by code generation models.
-
16 Nov 2023 1 repository listedINTERVENOR prompts Large Language Models (LLMs) to play distinct roles during the code repair process, functioning as both a Code Learner and a Code Teacher.
Syntology lines on 14 of the papers shown; no Syntology record for the others (a paper without an arXiv id cannot be joined to the graph, and absence from the graph layer is not a recorded non-run). “Ran” means the sample executed on a synthesized fixture, not that the paper's result was reproduced. Read from the graph 2026-09-24.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections