论文标题

主机核心语言的组成理论

Compositional theories for host-core languages

论文作者

Trotta, Davide, Zorzi, Margherita

论文摘要

如今,在大多数编程语言研究中,各种类型和种类的线性类型理论至关重要。在本文中,我们描述了本顿的线性 - 非线性类型理论和模型的扩展,我们可以证明一些额外的属性,使系统就其理论而言的行为更好。我们将此系统称为宿主核心类型理论。主机核语言的语法分为两个部分,分别代表了宿主语言h和核心语言C,嵌入了H中。该想法源自本顿的线性线性逻辑的线性 - 非线性表述,允许对数据线性的灵活管理,这在非经典计算范式中特别有用。主机核心样式可以看作是多语言编程的简化概念,即在异质编程语言中软件开发的过程。在本文中,我们介绍了Typed Cilculus HC,这是一种最小且灵活的主机核心系统,可捕获和标准化理想类宿主核心语言的常见属性。我们以丰富类别的形式提供了一种典型的模型,并通过内部语言的概念陈述了语法和语义之间的强烈对应。后一个结果提供了一些有用的宿主核样式特征,否则很难获得。我们还讨论了系统HC的一些具体实例,扩展和专业化。

Linear type theories, of various types and kinds, are of fundamental importance in most programming language research nowadays. In this paper we describe an extension of Benton's Linear-Non-Linear type theory and model for which we can prove some extra properties that make the system better behaved as far as its theory is concerned. We call this system the host-core type theory. The syntax of a host-core language is split into two parts, representing respectively a host language H and a core language C, embedded in H. This idea, derived from Benton's Linear-Non-Linear formulation of Linear Logic, allows a flexible management of data linearity, which is particularly useful in non-classical computational paradigms. The host-core style can be viewed as a simplified notion of multi-language programming, the process of software development in a heterogeneous programming language. In this paper, we present the typed calculus HC, a minimal and flexible host-core system that captures and standardizes common properties of an ideal class of host-core languages. We provide a denotational model in terms of enriched categories and we state a strong correspondence between syntax and semantics through the notion of internal language. The latter result provides some useful characterizations of host-core style, otherwise difficult to obtain. We also discuss some concrete instances, extensions and specializations of the system HC.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源