计算机科学 > 软件工程
[提交于 2016年6月10日]
标题:Modeling Variability in Template-based Code Generators for Product Line Engineering
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Generating software from abstract models is a prime activity in model-drivenengineering. Adaptable and extendable code generators are important to address changing technologies as well as user needs. However, theyare less established, as variability is often designed as configuration options of monolithic systems. Thus, code generation is often tied to a fixed set of features, hardly reusable in different contexts, and without means for configuration of variants. In this paper,we present an approach for developing product lines of template-based code generators. This approach applies concepts from feature-oriented programming to make variability explicit and manageable. Moreover, it relies on explicit variability regions (VR) in a code generators templates, refinements of VRs, and the aggregation of templates and refinements into reusable layers. Aconcrete product is defined by selecting one or multiple layers. If necessary, additional layers required due to VR refinements are automatically selected.
提交历史
来自:Bernhard Rumpe[v1] 2016年6月10日 星期五 00:00:00 UTC