REMODEL-LLM: Transforming C code to Java using LLMs
arxiv.org·20h
⬆️Lambda Lifting
Preview
Report Post

Title:REMODEL-LLM: Transforming C code to Java using LLMs

View PDF HTML (experimental)

Abstract:The automated translation of C code to Java code is a notoriously difficult task, fraught with challenges stemming from fundamental paradigm shifts (procedural vs. Object Oriented), memory models (manual pointers vs. Garbage Collection), and incompatible data types. This paper investigates the efficacy of 19 small, quantized LLMs (under 20 billion parameters) for the C to Java translation task. We use a novel, hybrid pipeline that leverages Abstract Syntax Trees (ASTs) for semantic decomposition and employs a highly constrained, rule based prompting strategy. The results are stark: a clear multi tier…

Similar Posts

Loading similar posts...