Automatic code stylizing
Author:
Open Access
- 5 November 2007
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 74-83
Abstract
Coding style is an important aspect of software development. We present a system that uses machine learning to deduce the coding style from a corpus of code and then applies this knowledge to convert arbitrary code to the learned style. We use a broad definition of coding style that includes spacing, indentation, naming, ordering, and equivalent programming constructs. The result provides a more flexible and powerful approach to code stylizing than current techniques.Keywords
This publication has 8 references indexed in Scilit:
- The Elements of Java™ Style2000
- The Desert environmentACM Transactions on Software Engineering and Methodology, 1999
- A language-independent prettyprinterSoftware: Practice and Experience, 1989
- An abstract pretty printerIEEE Software, 1988
- PECAN: Program Development Systems that Support Multiple ViewsIEEE Transactions on Software Engineering, 1985
- Metric Methods for Analyzing Partially Ranked Data1985
- PrettyprintingACM Transactions on Programming Languages and Systems, 1980
- Programming style1974