@inproceedings{cfe5ad1639384ab5b438a8220a15f068,
title = "Dependently Typed Languages in Statix",
abstract = "Static type systems can greatly enhance the quality of programs, but implementing a type checker that is both expressive and user-friendly is challenging and error-prone. The Statix meta-language (part of the Spoofax language workbench) aims to make this task easier by automatically deriving a type checker from a declarative specification of a type system. However, so far Statix has not been used to implement dependent types, which is a class of type systems which require evaluation of terms during type checking. In this paper, we present an implementation of a simple dependently typed language in Statix, and discuss how to extend it with several common features such as inductive data types, universes, and inference of implicit arguments. While we encountered some challenges in the implementation, our conclusion is that Statix is already usable as a tool for implementing dependent types.",
keywords = "Calculus of Constructions, Dependent Types, Scope Graphs, Spoofax, Statix",
author = "Jonathan Brouwer and Jesper Cockx and Aron Zwaan",
year = "2023",
doi = "10.4230/OASIcs.EVCS.2023.6",
language = "English",
series = "OpenAccess Series in Informatics",
publisher = "Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing",
editor = "Ralf Lammel and Mosses, {Peter D.} and Friedrich Steimann",
booktitle = "Eelco Visser Commemorative Symposium, EVCS 2023",
note = "2023 Eelco Visser Commemorative Symposium, EVCS 2023 ; Conference date: 05-04-2023 Through 05-04-2023",
}