Interoperability is the capability of two languages to interact within a single system: HTML, CSS, and JavaScript can work together to render webpages. Some object oriented languages have interoperability via a virtual machine host (.NET CLI compliant languages in the Common Language Runtime). A high-level language can be interoperable with a low-level one (Apple’s Swift and Objective-C). While there has been some research in the foundations of interoperability there is little supporting theory. This paper is based upon our existing work on combining languages to produce so-called multi-languages. Here, we define an equational logic for deducing valid equations, from axioms that postulate properties of the multi-language. We define set-theoretic multi-language algebras as models, and provide algebraic constructions such as congruences and quotient algebras. Such models, and the constructions, provide the ingredients for the main deliverable, soundness and completeness for the equational logic. We illustrate the basic ideas with a running example.

Equational Logic and Set-Theoretic Models for Multi-Languages

Samuele Buro;Isabella Mastroeni
2020-01-01

Abstract

Interoperability is the capability of two languages to interact within a single system: HTML, CSS, and JavaScript can work together to render webpages. Some object oriented languages have interoperability via a virtual machine host (.NET CLI compliant languages in the Common Language Runtime). A high-level language can be interoperable with a low-level one (Apple’s Swift and Objective-C). While there has been some research in the foundations of interoperability there is little supporting theory. This paper is based upon our existing work on combining languages to produce so-called multi-languages. Here, we define an equational logic for deducing valid equations, from axioms that postulate properties of the multi-language. We define set-theoretic multi-language algebras as models, and provide algebraic constructions such as congruences and quotient algebras. Such models, and the constructions, provide the ingredients for the main deliverable, soundness and completeness for the equational logic. We illustrate the basic ideas with a running example.
2020
Multi-languages, Equational Logic, Set-Algebras
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11562/1037551
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? ND
social impact