Staged composition synthesis

Boris Düdder, Moritz Martens, Jakob Rehof

    20 Citations (Scopus)

    Abstract

    A framework for composition synthesis is provided in which metalanguage combinators are supported and the execution of synthesized programs can be staged into composition-time code generation (stage 1) and run-time execution (stage 2). By extending composition synthesis to encompass both object language (L1) and metalanguage (L2) combinators, composition synthesis becomes a powerful and flexible framework for the generation of L1-program compositions. A system of modal intersection types is introduced into a combinatory composition language to control the distinction between L1- and L2-combinators at the type level, thereby exposing the language distinction to composition synthesis. We provide a theory of correctness of the framework which ensures that generated compositions of component implementations are well typed and that their execution can be staged such that all metalanguage combinators can be computed away completely at stage 1, leaving only well typed L1-code for execution at stage 2. Our framework has been implemented, and we report on experiments.

    Original languageEnglish
    Title of host publicationProgramming Languages and Systems - 23rd European Symposium on Programming, ESOP 2014, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2014, Proceedings
    Number of pages20
    PublisherSpringer Verlag
    Publication date1 Jan 2014
    Pages67-86
    ISBN (Print)9783642548321
    DOIs
    Publication statusPublished - 1 Jan 2014
    Event23rd European Symposium on Programming, ESOP 2014 - Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2014 - Grenoble, France
    Duration: 5 Apr 201413 Apr 2014

    Conference

    Conference23rd European Symposium on Programming, ESOP 2014 - Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2014
    Country/TerritoryFrance
    CityGrenoble
    Period05/04/201413/04/2014
    SponsorUniversité Fédérale Toulouse Midi-Pyrénées, Grenoble INP, Inria, PERSYVAL-Lab and Universite Joseph Fourier, Springer-Verlag
    SeriesLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
    Volume8410 LNCS
    ISSN0302-9743

    Fingerprint

    Dive into the research topics of 'Staged composition synthesis'. Together they form a unique fingerprint.

    Cite this