The syntax of a host-core language is spitted in two parts, representing respectively a \emph{host language} H and a \emph{core language} C, embedded in H. This idea is rooted in Benton's Linear/non Linear formulation of Linear logic and allows a flexible management of data linearity, which is particularly useful in non-classical computational paradigms. Moreover, 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 HC0, a minimal and flexible host-core system that captures and standardizes common properties of an ideal class of host-core languages. We provide a denotation in terms of enriched categories and we state a strong correspondence between syntax and semantics through the notion of \emph{internal language}. The latter result provides some interesting characterizations of host-core style, otherwise difficult to achieve. We also show discuss some concrete instances, extensions and specializations of HC0.
翻译:主机核心语言的语法分两部分,分别代表 H 和 C 。 这个概念根植于本顿的线性/非线性线性逻辑的线性/非线性公式,允许灵活管理数据线性,这在非古典计算范式中特别有用。 此外,主机核心风格可以被视为多语言编程的简化概念,软件开发过程是一种多种编程语言的软件。在本文中,我们介绍了输入的计算法HC0, 一种最小和灵活的主机核心系统,它捕捉到理想主机核心语言类别的共同特性并使之标准化。我们用丰富类别进行分解,我们通过\emph{内部语言}的概念说明语法和语义学之间的强烈对应。后一种结果提供了一些有趣的主机核心风格的描述,否则难以实现。我们还展示了HC0的一些具体实例、扩展和专业化。