首页> 外文会议>Software Engineering, 2004. ICSE 2004. Proceedings >Design of large-scale polylingual systems
【24h】

Design of large-scale polylingual systems

机译:大型多语言系统设计

获取原文

摘要

Building systems from existing applications written in two or more languages is common practice. Such systems are polylingual. Polylingual systems are relatively easy to build when the number of APIs needed to achieve language interoperability is small. However, when the number of distinct APIs become large, maintaining and evolving polylingual systems becomes a notoriously difficult task. In this paper, we present a simple, practical, and effective way to develop, maintain, and evolve large-scale polylingual systems. Our approach relies on recursive type systems whose instances can be manipulated by reflection. Foreign objects (i.e. objects that are not defined in a host programming language) are abstracted as graphs and path expressions are used for accessing and manipulating data. Path expressions are implemented by type reification - turning foreign type instances into first-class objects and enabling access to and manipulation of them in a host programming language. Doing this results in multiple benefits, including coding simplicity and uniformity that we demonstrate in a complex commercial project.
机译:从现有的用两种或多种语言编写的应用程序中构建系统是常见的做法。这样的系统是多语言的。当实现语言互操作性所需的API数量很少时,多语言系统相对容易构建。但是,当不同的API的数量变大时,维护和发展多语言系统变得非常困难。在本文中,我们提出了一种简单,实用和有效的方法来开发,维护和发展大规模的多语言系统。我们的方法依赖于可以通过反射来操纵其实例的递归类型系统。异物(即未在主机编程语言中定义的对象)被抽象为图形,并且路径表达式用于访问和操作数据。路径表达式是通过类型验证实现的-将外部类型实例转换为一类对象,并允许使用主机编程语言对其进行访问和操作。这样做会带来多种好处,包括我们在复杂的商业项目中展示的编码简单性和统一性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号