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: Beijing, Chongqing, Hong Kong, Urumqi change

10:30 - 12:00: TypesResearch Papers at Bali Room
Chair(s): Tachio TerauchiWaseda University
10:30 - 11:00
Manifest Contracts with Intersection Types
Research Papers
Yuki NishidaKyoto University, Atsushi IgarashiKyoto University, Japan
11:00 - 11:30
A Dependently Typed Multi-Stage Calculus
Research Papers
Akira KawataKyoto University, Atsushi IgarashiKyoto University, Japan
11:30 - 12:00
Existential Types for Relaxed Noninterference
Research Papers
Raimil CruzUniversity of Chile, Éric TanterUniversity of Chile & Inria Paris