arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1612.02547cs.PLcs.SE
收藏

自组合编程

Self-composable Programming

Hiun Kim

摘要:

许多可变性管理技术依赖于复杂的语言扩展或工具来支持它,虽然这可以提供专用的语法和操作机制,但它难以实际适应,因为将新技术作为开发过程的一部分的成本。我们提出了自组合编程,一种语言驱动的,基于组合的可变性实现,它需要一个面向对象的方法来建模和组成软件中的行为。自组合编程通过提供抽象函数和特定函数的概念引入了行为的层次关系,抽象函数将共性模块化,特定函数继承自抽象函数,并应用精化来包含可变性以实现期望的功能。各种面向对象的技术可以应用在精化过程中,包括显式的基于方法的精化和隐式的基于特征的精化。为了评估潜在的独立性的行为从对象应用面向对象的功能,我们比较它的面向对象的编程概念和经验。

英文摘要:

Many variability management techniques rely on sophisticated language extension or tools to support it. While this can provide dedicated syntax and operational mechanism but it struggling practical adaptation for the cost of adapting new technology as part of development process. We present Self-composable Programming, a language-driven, composition-based variability implementation which takes an object-oriented approach to modeling and composing behaviors in software. Self-composable Programming introduces hierarchical relationship of behavior by providing concepts of abstract function, which modularise commonalities, and specific function which inherits from abstract function and be apply refinement to contain variabilities to fulfill desired functionality. Various object-oriented techniques can applicable in the refinement process including explicit method-based, and implicit traits-based refinement. In order to evaluate the potential independence of behavior from the object by applying object-orientation to function, we compare it to Aspect-oriented Programming both conceptually and empirically.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑