The logical essence of compiling with continuations

dc.contributor.authorEspírito Santo, Josépor
dc.contributor.authorMendes, Filipapor
dc.date.accessioned2024-01-08T10:38:25Z
dc.date.available2024-01-08T10:38:25Z
dc.date.issued2023
dc.description.abstractThe essence of compiling with continuations is that conversion to continuation-passing style (CPS) is equivalent to a source language transformation converting to administrative normal form (ANF). Taking as source language Moggi's computational lambda-calculus (lambdaC), we define an alternative to the CPS-translation with target in the sequent calculus LJQ, named value-filling style (VFS) translation, and making use of the ability of the sequent calculus to represent contexts formally. The VFS-translation requires no type translation: indeed, double negations are introduced only when encoding the VFS target language in the CPS target language. This optional encoding, when composed with the VFS-translation reconstructs the original CPS-translation. Going back to direct style, the "essence'' of the VFS-translation is that it reveals a new sublanguage of ANF, the value-enclosed style (VES), next to another one, the continuation-enclosing style (CES): such an alternative is due to a dilemma in the syntax of lambdaC, concerning how to expand the application constructor. In the typed scenario, VES and CES correspond to an alternative between two proof systems for call-by-value, LJQ and natural deduction with generalized applications, confirming proof theory as a foundation for intermediate representations.por
dc.description.sponsorshipFCT -Fundação para a Ciência e a Tecnologia(UIDB/00013/2020)por
dc.distributioninternationalpor
dc.identifier.doi10.4230/LIPIcs.FSCD.2023.19por
dc.identifier.isbn978-3-95977-277-8por
dc.identifier.issn1868-8969por
dc.identifier.urihttps://hdl.handle.net/1822/87946
dc.language.isoengpor
dc.peerreviewedyespor
dc.publisherSchloss Dagstuhl - Leibniz-Zentrum für Informatikpor
dc.relationinfo:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDB%2F00013%2F2020/PTpor
dc.relationinfo:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDP%2F00013%2F2020/PTpor
dc.rightsopenAccesspor
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/por
dc.subjectContinuation-passing stylepor
dc.subjectSequent calculuspor
dc.subjectGeneralized applicationspor
dc.subjectAdministrative normal formpor
dc.subject.fosCiências Naturais::Matemáticaspor
dc.titleThe logical essence of compiling with continuationspor
dc.typeconferencePaperpor
dspace.entity.typePublicationen
oaire.citationConferenceDate03 - 06 Jul. 2023por
oaire.citationConferencePlaceRomapor
oaire.citationVolume260por
oaire.versionVoRpor
sdum.conferencePublication8th International Conference on Formal Structures for Computation and Deduction, {FSCD} 2023, July 3-6, 2023, Rome, Italypor
sdum.event.title8th International Conference on Formal Structures for Computation and Deduction, {FSCD} 2023por
sdum.event.typeconferencepor
sdum.journalLeibniz International Proceedings in Informatics, LIPIcspor

Ficheiros

Pacote original

A mostrar 1 - 1 de 1
A carregar...
Nome:
main-proceedings.pdf
Tamanho:
784.55 KB
Formato:
Adobe Portable Document Format
Descrição: