paper-with-me

홈 › Papers

Renaissance of Literate Programming in the Era of LLMs: Enhancing LLM-Based Code Generation in Large-Scale Projects

2024-12-25 · Wuyang Zhang, Yansong Li, Zeyu Dong, Yu Wu, Yingyao Zhou, Duolei Wang, Songsirou Xing, ChiChun Zhou, Da Shen

Large Language Models (LLMs) have helped programmers increase efficiency through code generation, comprehension, and repair. However, their application to large-scale projects remains challenging due to complex interdependencies and the extensive size of modern codebases. Although Knuth's concept of Literate Programming (LP) combines code and natural language to convey logic and intent, its potential for enhancing relationships in large projects has not been fully explored. In this study, we introduce the idea of Interoperable LP (ILP), which leverages literate programming principles to enhance the development of both small-scale documents and large-scale projects with LLMs. We investigate how LLMs perform under ILP-style instructions for both document-oriented tasks and entire projects. Recognizing that many researchers rely on well-structured templates to guide LLMs, we propose a concise prompt engineering method to write LP documents so LLMs can better be involved in code generation. We also examine the capacity of various LLMs to generate Scheme and Python code on the RepoBench benchmark, illustrating the advantages of our approach. Our findings indicate that ILP with LLMs can enhance LLM-based code generation in large-scale project development.

📄 PDF Abstract BibTeX arXiv:2502.17441

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationPrompt Engineering

Similar Papers 제목 키워드 기반

Natural Language Outlines for Code: Literate Programming in the LLM Era

2024-08-09 · Kensen Shi, Deniz Altınbüken, Saswat Anand, Mihai Christodorescu 외

We propose using natural language outlines as a novel modality and interaction surface for providing AI assistance to developers throughout the software development process. An NL outline for a code function comprises mu…

Code GenerationCode SearchMalware Detection

Renaissance: Investigating the Pretraining of Vision-Language Encoders

2024-11-11 · Clayton Fields, Casey Kennington

In the past several years there has been an explosion of available models for vision-language tasks. Unfortunately, the literature still leaves open a number of questions related to best practices in designing and traini…

Color-Coded Symbology and New Computer Vision Tool to Predict the Historical Color Pallets of the Renaissance Oil Artworks

2021-02-27 · Artyom M. Grigoryan, Sos S. Agaian

In this paper, we discuss possible color palletes, prediction and analysis of originality of the colors that Artists used on the Renaissance oil paintings. This framework goal is to help to use the color symbology and im…

Image EnhancementPrediction

A text-writing system for Easy-to-Read German evaluated with low-literate users with cognitive impairment

2022-05-01 · In2Writing (ACL) 2022 5 · Ina Steinmetz, Karin Harbusch

Low-literate users with intellectual or developmental disabilities (IDD) and/or complex communication needs (CCN) require specific writing support. We present a system that interactively supports fast and correct writing…

Code Needs Comments: Enhancing Code LLMs with Comment Augmentation

2024-02-20 · Demin Song, Honglin Guo, Yunhua Zhou, Shuhao Xing 외

The programming skill is one crucial ability for Large Language Models (LLMs), necessitating a deep understanding of programming languages (PLs) and their correlation with natural languages (NLs). We examine the impact o…

Data Augmentation