English

A Program Synthesis Approach for Adding Architectural Tactics to An Existing Code Base

Software Engineering 2022-01-26 v1

Abstract

Automatically constructing a program based on given specifications has been studied for decades. Despite the advances in the field of Program Synthesis, the current approaches still synthesize a block of code snippet and leave the task of reusing it in an existing code base to program developers. Due to its program-wide effects, synthesizing an architectural tactic and reusing it in a program is even more challenging. Architectural tactics need to be synthesized based on the context of different locations of the program, broken down to smaller pieces, and added to corresponding locations in the code. Moreover, each piece needs to establish correct data- and control-dependencies to its surrounding environment as well as to the other synthesized pieces. This is an error-prone and challenging task, especially for novice program developers. In this paper, we introduce a novel program synthesis approach that synthesizes architectural tactics and adds them to an existing code base.

Keywords

Cite

@article{arxiv.2108.07117,
  title  = {A Program Synthesis Approach for Adding Architectural Tactics to An Existing Code Base},
  author = {Ali Shokri},
  journal= {arXiv preprint arXiv:2108.07117},
  year   = {2022}
}

Comments

This paper has been accepted in the 36th IEEE/ACM International Conference on Automated Software Engineering (ASE 2021) and is going to be published. Please feel free to cite it

R2 v1 2026-06-24T05:09:12.489Z