Generating Object-Oriented Source Code Using Genetic Programming

Using machine learning to generate source code is an active and highly important research area. In particular, it has been shown that genetic programming (GP) efficiently contributes to software repair. However, most of the published advances on applying GP to generate source code are limited to the...

Full description

Saved in:
Bibliographic Details
Published in:2021 IEEE/ACM International Workshop on Genetic Improvement (GI) pp. 45 - 50
Main Authors: Illanes, Vicente, Bergel, Alexandre
Format: Conference Proceeding
Language:English
Published: IEEE 01.05.2021
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Using machine learning to generate source code is an active and highly important research area. In particular, it has been shown that genetic programming (GP) efficiently contributes to software repair. However, most of the published advances on applying GP to generate source code are limited to the C programming language, a statically-typed procedural language. As a consequence, applying GP to object-oriented and dynamically-typed languages may represent a significiant opportunity. This paper explores the use of genetic programming to generate objected-oriented source code in a dynamically-typed setting. We found that GP is able to produce missing one-line statements with a precision of 51%. Our preliminary results contributes to the state of the art by indicating that GP may be effectively employed to generate source code for dynamically-typed object-oriented applications.
DOI:10.1109/GI52543.2021.00019