【24h】

On the Multi-Language Construction

机译:论多语言建构

获取原文

摘要

Modern software is no more developed in a single programming language. Instead, programmers tend to exploit cross-language interoperability mechanisms to combine code stemming from different languages, and thus yielding fully-fledged multi-language programs. Whilst this approach enables developers to benefit from the strengths of each single-language, on the other hand it complicates the semantics of such programs. Indeed, the resulting multi-language does not meet any of the semantics of the combined languages. In this paper, we broaden the boundary functions-based approach a la Matthews and Findler to propose an algebraic framework that provides a constructive mathematical notion of multi-language able to determine its semantics. The aim of this work is to overcome the lack of a formal method (resp., model) to design (resp., represent) a multi-language, regardless of the inherent nature of the underlying languages. We show that our construction ensures the uniqueness of the semantic function (i.e., the multi-language semantics induced by the combined languages) by proving the initiality of the term model (i.e., the abstract syntax of the multi-language) in its category.
机译:现代软件不再用单一的编程语言开发。相反,程序员倾向于利用跨语言的互操作性机制来组合源于不同语言的代码,从而生成成熟的多语言程序。虽然这种方法使开发人员可以从每种单一语言的优势中受益,但另一方面,它会使此类程序的语义复杂化。实际上,最终的多语言不符合组合语言的任何语义。在本文中,我们扩展了基于边界函数的方法(例如Matthews和Findler),提出了一个代数框架,该框架提供了可确定其语义的多语言构造性数学概念。这项工作的目的是克服缺乏正式方法(resp。,模型)来设计(resp。,代表)多语言的问题,而不考虑基础语言的固有性质。我们证明我们的构造通过证明术语模型(即多语言的抽象语法)在其类别中的初始性来确保语义功能(即由组合语言引起的多语言语义)的唯一性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号