Language-Parametric Editor Services from Language Specifications

Doctoral Thesis (2026)
Author(s)

D.A.A. Pelsmaeker (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Contributor(s)

A.E. Zaidman – Promotor (TU Delft - Electrical Engineering, Mathematics and Computer Science)

C. Bach – Promotor (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Research Group
Programming Languages
DOI related publication
https://doi.org/10.4233/uuid:28db3fc5-2522-4f6f-86f1-2e32c5bfc2b3 Final published version
More Info
expand_more
Publication Year
2026
Language
English
Defense Date
11-11-2026
Awarding Institution
Delft University of Technology
Research Group
Programming Languages
ISBN (print)
978-94-6563-073-1
Page Views
46
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

In this dissertation, we investigate how editor services can be derived automatically from the formal static-semantic specification of a programming language, rather than implemented separately for each language and IDE. Our central research question is: how can we derive editor services from the static-semantic specification of a programming language?

We make several contributions. First, using the Spoofax language workbench and a design-science methodology, we model editor services as constraint-solving problems and develop a general blueprint for deriving language-parametric services such as finding references, code completion, and refactoring from a language's static-semantic specification.

Second, we implement a language-parametric code completion service that produces suggestions that are sound and complete with respect to the language's static semantics. Third, we develop a sound-by-construction reference synthesis technique for binding-preserving program transformations, also derived from the language's static-semantic specification.

Overall, we demonstrate that formal language specifications can serve not only to define programming languages, but also as a basis for reusable, language-parametric editor tooling. This reduces language-specific implementation effort while improving the correctness and reliability of semantic editor services.

Files

Dissertation.pdf
(pdf | 19.9 Mb)
License info not available