首页> 外文会议>ACM SIGPLAN-SIGACT symposium on Principles of programming languages >Automated synthesis of interface adapters for reusable classes
【24h】

Automated synthesis of interface adapters for reusable classes

机译:用于可重用类的接口适配器的自动综合

获取原文

摘要

The need to fit together reusable components and system designs in spite of differences in protocol and representation choices occurs often in object-oriented software construction. It is therefore necessary to use adapters to achieve an exact fit between the available "socket" for a reusable part and the actual part. In this paper we discuss an approach to the construction of tools that largely automate the synthesis of adapter code. Such tools are important in reducing the effort involved in reuse since adapter synthesis can be challenging and error-prone in the complex type environment of an object-oriented language. Our approach is applicable to statically typed languages like C++ and Eiffel, and is based on a formal notion of adaptability which is related to but distinct from both subtyping and inheritance.

机译:

尽管在协议和表示方式选择上存在差异,但仍需要将可重用的组件和系统设计组合在一起,这在面向对象的软件构造中经常发生。因此,有必要使用适配器来实现可重用零件的可用“插座”与实际零件之间的精确配合。在本文中,我们讨论了一种构建工具的方法,该工具可以大幅度自动化适配器代码的综合。由于适配器合成在面向对象语言的复杂类型环境中可能具有挑战性且容易出错,因此此类工具对于减少重用工作非常重要。我们的方法适用于诸如C ++和Eiffel之类的静态类型的语言,并且基于 adaptability 的形式化概念,该概念与子类型化和继承有关,但与子类型化和继承不同。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号