Back to search

Universität Potsdam

Composing domain-specific notations in programming systems

Abstract

dc:description.abstract

Programs are composed of abstractions of multiple domains. Communicating these domain-specific abstractions through textual code is often a compromise. Domain-specific notations promise to match abstractions to domains better. However, only a few programming systems support authors in creating domain-specific notations and composing them in a single view. We observe two mismatches with code, especially in its textual representation: the parsing--object identity mismatch describes that text must be parsed after every change to derive objects that represent the program structure, while reliable notation composition requires objects with stable identities. The program tree--domain mismatch describes the challenge of deriving domain concerns from the program tree generated by the parser. In this thesis, we propose a programming system designed for the recursive composition of domain-specific notations with each other and especially with code. We propose two approaches that address the parsing--object identity mismatch by immediately reconciling changes to code with the existing program tree objects. The first, partial parsing, presents a novel structured editing interface that is derived automatically from grammars and thus available across languages. The second, hybrid structured editing, builds on existing text editors and selectively preserves program tree objects, guided by constraints that domain-specific notations define. For the program tree--domain mismatch, our system offers an authoring framework for domain-specific notations that provides abstractions for deriving domain concerns from the program tree. It supports authors in modifying the original code in conformance with syntax, querying for code patterns, accessing live values, and embedding code in their notation's user interface. We evaluate our programming system through case studies and a user study of the novel structured editing interface. We conclude that our proposed concepts allow maintaining a consistent and familiar editing experience for programmers while addressing the complexity that authors of domain-specific notations face. Our proposed concepts thus form a basis for more widespread creation and integration of domain-specific notations in programming systems, allowing programmers to express programs closer to their problem domain.

Degree

thesis:*
Level thesis:degree_level
thesis.doctoral
Grantor dc:publisher
Universität Potsdam
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Beckmann, Tom
Advisor dc:contributor.advisor
  • Hirschfeld, Robert
Person Identifier Gnd person:identifier.gnd
  • 1364046563
  • 120012162

Subjects

dc:subject × 6

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • free
  • CC-BY-SA - Namensnennung, Weitergabe zu gleichen Bedingungen 4.0 International
Language dc:language.dcterms_iso639_2
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Universität Potsdam - Diss
Base URL
publishup.uni-potsdam.de/opus4-ubp/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Beckmann, Tom. Composing domain-specific notations in programming systems. thesis.doctoral thesis, Universität Potsdam, 2026. https://doi.org/10.25932/publishup-70103