Write a Blog >>
APLAS 2019
Sun 1 - Wed 4 December 2019 Bali, Indonesia
Mon 2 Dec 2019 11:00 - 11:30 at Bali Room - Types Chair(s): Tachio Terauchi

We study a dependently typed extension of a multi-stage programming language a la MetaOCaml, which supports quasi-quotation and cross-stage persistence for manipulation of code fragments as first-class values and eval for the execution of programs dynamically generated by the code manipulation. Dependent types are expected to bring to multi-stage programming enforcement of strong invariants—beyond simple type safety—on the behavior of dynamically generated code. An extension is, however, not trivial because a type system would have to take stages—roughly speaking, the number of surrounding quotations—of types into account.

To rigorously study properties of such an extension, we develop lambda^{MD}, which is an extension of Hanada and Igarashi’s typed calculus lambda^{\triangleright%} with dependent types, and prove its properties including preservation, confluence, strong normalization for full reduction, and progress for staged reduction. Motivated by code generators such that the type of generated code depends on a value from outside of quotations, we argue the significance of cross-stage persistence in dependently typed multi-stage programming and certain type equivalence that is not directly derived from reduction rules.

Mon 2 Dec
Times are displayed in time zone: (GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi change

10:30 - 12:00: Research Papers - Types at Bali Room
Chair(s): Tachio TerauchiWaseda University
aplas-2019-papers10:30 - 11:00
Yuki NishidaKyoto University, Atsushi IgarashiKyoto University, Japan
aplas-2019-papers11:00 - 11:30
Akira KawataKyoto University, Atsushi IgarashiKyoto University, Japan
aplas-2019-papers11:30 - 12:00
Raimil CruzUniversity of Chile, Éric TanterUniversity of Chile & Inria Paris