ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesSoftware EngineeringCode GenerationCompiler ConstructionControl-flow AnalysisSoftware ArchitectureSoftware ConstructionSoftware DesignCompiler DesignProduct ArchitectureProduct Architecture DesignProduct Line ApproachSoftware Product Line ArchitectureSoftware Product Lines
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.
14
A theory of type polymorphism in programming
Robin Milner · Journal of Computer and System Sciences · 1978 · 2.2K citations · Full text
Feature-oriented product line engineering
K.C. Kang, Jaejoon Lee, Patrick Donohoe · IEEE Software · 2002 · 507 citations