Software Product Line Conference, International (2008)
Sept. 8, 2008 to Sept. 12, 2008
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/SPLC.2008.28
We have developed and maintained a set of closely related compilers. Although much of their code is duplicated and shared, they have been maintained separately because they are treated as different compilers. Even if they were merged together, the combined code would become too complicated to serve as the base for another extension. We describe our experience to address this problem by adopting the product line engineering paradigm to build a family of compilers. This paradigm encourages developers to focus on developing a set of compilers rather than on developing one particular compiler. We show engineering activities for a family of compilers from product line analysis through product line architecture design to product line component design. Then, we present how to build particular compilers from core assets resulting from the previous activities and how to take advantage of modern programming language technology to organize this task. Our experience demonstrates that the product line engineering as a developing paradigm can ease the construction of a family of compilers.
feature-oriented, product line engineering, compilers, standard ml, module system
Matthias Blume, Wonseok Chae, "Building a Family of Compilers", Software Product Line Conference, International, vol. 00, no. , pp. 307-316, 2008, doi:10.1109/SPLC.2008.28