...
首页> 外文期刊>IEE Proceedings. Part L, Software >Implementing functional languages on object-oriented virtual machines
【24h】

Implementing functional languages on object-oriented virtual machines

机译:在面向对象的虚拟机上实现功能语言

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Hosting functional languages in object-oriented environments, such as the Java Virtual Machine and Microsoft's Common Language Infrastructure, so that they inter-operate well with other languages presents a number of problems. In the paper the authors introduce Mondrian, a functional language specifically designed for such environments, and describe the decisions and trade-offs in its design. The paper concentrates on the high-level design decisions made for Mondrian. The authors cover the design of a type system which is part-way between the traditional parametric polymorphism and sum type models of functional languages and the sub-type models used by the virtual machines. Next they discuss how function values and nonstrict evaluation can be provided while supporting easy inter-working with strict object-oriented languages. They briefly comment on the low-level implementation of Mondrian and conclude with a multi-language example using Mondrian and C#. The work shows that, with appropriate design, it is possible to combine functional and object-oriented programming without losing the unique benefits of each.
机译:在面向对象的环境(例如Java虚拟机和Microsoft的公共语言基础结构)中托管功能语言,使其与其他语言良好地互操作会带来许多问题。在本文中,作者介绍了专门为此类环境设计的功能语言Mondrian,并描述了其设计中的决策和权衡取舍。本文着重于为Mondrian做出的高级设计决策。作者介绍了类型系统的设计,该系统位于功能语言的传统参数多态性和和类型模型与虚拟机使用的子类型模型之间。接下来,他们讨论如何在支持与严格的面向对象语言的轻松交互工作的同时提供函数值和非严格评估。他们简要评论了Mondrian的底层实现,并以使用Mondrian和C#的多语言示例作为结束。这项工作表明,通过适当的设计,可以将功能性编程和面向对象的编程结合在一起,而不会损失每种方法的独特优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号