Back to results

EPFL

Type-Preserving Compilation of Class-Based Languages

Abstract

dc:description

The Dependent Object Type (DOT) calculus was designed to put Scala on a sound basis, but while DOT relies on structural subtyping, Scala is a fundamentally class-based language. This impedance mismatch means that a proof of DOT soundness by itself is not enough to declare a particular subset of the language as sound. While a few examples of Scala snippets have been manually translated into DOT, no systematic compilation scheme has been presented so far. In this thesis we develop a series of calculi of increasing complexity to model Scala and present a type-preserving compilation scheme from each of these calculus into DOT. Along the way, we develop some necessary extensions to DOT.

Degree

thesis:*
Grantor dc:publisher
EPFL
Year dc:date
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Martres, Guillaume André Fradji
Contributors dc:contributor
  • Odersky, Martin

Subjects

dc:subject × 5

Rights

Language dc:language
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
EPFL
Base URL
infoscience.epfl.ch/server/oai/openaire4
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Martres, Guillaume André Fradji. Type-Preserving Compilation of Class-Based Languages. EPFL, 2023. https://doi.org/10.5075/epfl-thesis-8218