首页    期刊浏览 2024年07月08日 星期一
登录注册

文章基本信息

  • 标题:Mixin Composition Synthesis Based on Intersection Types
  • 本地全文:下载
  • 作者:Jan Bessai ; Andrej Dudenhefner ; Boris D{\"u}dder
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2015
  • 卷号:38
  • 页码:76-91
  • DOI:10.4230/LIPIcs.TLCA.2015.76
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We present a method for synthesizing compositions of mixins using type inhabitation in intersection types. First, recursively defined classes and mixins, which are functions over classes, are expressed as terms in a lambda calculus with records. Intersection types with records and record-merge are used to assign meaningful types to these terms without resorting to recursive types. Second, typed terms are translated to a repository of typed combinators. We show a relation between record types with record-merge and intersection types with constructors. This relation is used to prove soundness and partial completeness of the translation with respect to mixin composition synthesis. Furthermore, we demonstrate how a translated repository and goal type can be used as input to an existing framework for composition synthesis in bounded combinatory logic via type inhabitation. The computed result corresponds to a mixin composition typed by the goal type.
  • 关键词:Record Calculus; Combinatory Logic; Type Inhabitation; Mixin; Intersection Type
国家哲学社会科学文献中心版权所有