Towards translating real-world code with LLMs: A study of translating to Rust

HF Eniser, H Zhang, C David, M Wang… - arXiv preprint arXiv …, 2024 - arxiv.org
Large language models (LLMs) show promise in code translation-the task of translating
code written in one programming language to another language-due to their ability to write …

Multilingual code co-evolution using large language models

J Zhang, P Nie, JJ Li, M Gligoric - Proceedings of the 31st ACM Joint …, 2023 - dl.acm.org
Many software projects implement APIs and algorithms in multiple programming languages.
Maintaining such projects is tiresome, as developers have to ensure that any change (eg, a …

Torchql: A programming framework for integrity constraints in machine learning

A Naik, A Stein, Y Wu, M Naik, E Wong - Proceedings of the ACM on …, 2024 - dl.acm.org
Finding errors in machine learning applications requires a thorough exploration of their
behavior over data. Existing approaches used by practitioners are often ad-hoc and lack the …

Programming-by-demonstration for long-horizon robot tasks

N Patton, K Rahmani, M Missula, J Biswas… - Proceedings of the ACM …, 2024 - dl.acm.org
The goal of programmatic Learning from Demonstration (LfD) is to learn a policy in a
programming language that can be used to control a robot's behavior from a set of user …

User-Customizable Transpilation of Scripting Languages

B Wang, A Kolluri, I Nikolić, T Baluta… - Proceedings of the ACM …, 2023 - dl.acm.org
A transpiler converts code from one programming language to another. Many practical uses
of transpilers require the user to be able to guide or customize the program produced from a …

LLM-Aided Compilation for Tensor Accelerators

C Hong, S Bhatia, A Haan, SK Dong… - 2024 IEEE LLM …, 2024 - ieeexplore.ieee.org
Hardware accelerators, in particular accelerators for tensor processing, have many potential
application domains. However, they currently lack the software infrastructure to support the …

Control-Flow Deobfuscation using Trace-Informed Compositional Program Synthesis

B Mariano, Z Wang, S Pailoor, C Collberg… - Proceedings of the ACM …, 2024 - dl.acm.org
Code deobfuscation, which attempts to simplify code that has been intentionally obfuscated
to prevent understanding, is a critical technique for downstream security analysis tasks like …

BatFix: Repairing language model-based transpilation

D Ramos, I Lynce, V Manquinho, R Martins… - ACM Transactions on …, 2024 - dl.acm.org
To keep up with changes in requirements, frameworks, and coding practices, software
organizations might need to migrate code from one language to another. Source-to-source …

From Batch to Stream: Automatic Generation of Online Algorithms

Z Wang, S Pailoor, A Prakash, Y Wang… - Proceedings of the ACM …, 2024 - dl.acm.org
Online streaming algorithms, tailored for continuous data processing, offer substantial
benefits but are often more intricate to design than their offline counterparts. This paper …

Relational Synthesis of Recursive Programs via Constraint Annotated Tree Automata

A Miltner, Z Wang, S Chaudhuri, I Dillig - International Conference on …, 2024 - Springer
In this paper, we present a new synthesis method based on the novel concept of a constraint
annotated tree automaton (CATA). A CATA is a variant of a finite tree automaton (FTA) …