{"id":{"repo_id":"potsdam-diss","oai_identifier":"oai:kobv.de-opus4-uni-potsdam:70103"},"canonical_url":"https://search.ndltd.org/etd/potsdam-diss/oai:kobv.de-opus4-uni-potsdam:70103","repository":{"repo_id":"potsdam-diss","name":"Universität Potsdam - Diss","base_url":"https://publishup.uni-potsdam.de/opus4-ubp/oai"},"display":{"title":"Composing domain-specific notations in programming systems","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.","abstract_html":"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&#x27;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.","abstract_has_math":false,"creators":["Beckmann, Tom"],"institution":"Universität Potsdam","degree_name":null,"degree_level":"thesis.doctoral","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Hirschfeld, Robert"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-27T05:28:04Z","subjects":["structured editing","block-based editing","domain-specific notations","block-basiertes Editieren","domänenspezifische Notationen","strukturiertes Editieren"],"languages":["eng"],"rights":["free","CC-BY-SA - Namensnennung, Weitergabe zu gleichen Bedingungen 4.0 International"],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.urn","label":"URN","values":["urn:nbn:de:kobv:517-opus4-701035"],"render_values":[{"text":"urn:nbn:de:kobv:517-opus4-701035","href":"https://nbn-resolving.org/urn:nbn:de:kobv:517-opus4-701035","code":true}]}],"person_identifier_entries":[{"key":"person:identifier.gnd","label":"Person Identifier Gnd","values":["1364046563","120012162"],"render_values":[{"text":"1364046563","href":null,"code":true},{"text":"120012162","href":null,"code":true}]},{"key":"person:identifier.orcid","label":"ORCID","values":["0000-0003-0015-1717","0000-0002-4249-6003","0000-0002-8175-7456","0000-0002-2837-4763"],"render_values":[{"text":"0000-0003-0015-1717","href":"https://orcid.org/0000-0003-0015-1717","code":true},{"text":"0000-0002-4249-6003","href":"https://orcid.org/0000-0002-4249-6003","code":true},{"text":"0000-0002-8175-7456","href":"https://orcid.org/0000-0002-8175-7456","code":true},{"text":"0000-0002-2837-4763","href":"https://orcid.org/0000-0002-2837-4763","code":true}]}]},"links":{"outbound_url":"https://doi.org/10.25932/publishup-70103","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.25932/publishup-70103","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Apotsdam-diss%3Aoai%3Akobv.de-opus4-uni-potsdam%3A70103","prefix":"oai_dc"},"source_record":{"url":"https://publishup.uni-potsdam.de/opus4-ubp/oai?verb=GetRecord&metadataPrefix=xMetaDissPlus&identifier=oai%3Akobv.de-opus4-uni-potsdam%3A70103","prefix":"xMetaDissPlus"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Hirschfeld, Robert"]},{"key":"dc:contributor.referee","label":"Dc Contributor Referee","values":["Tanimoto, Steve","Scholliers, Christophe"]},{"key":"dc:creator","label":"Author","values":["Beckmann, Tom"]},{"key":"person:academictitle","label":"Person Academictitle","values":["Prof. Dr."]},{"key":"person:identifier.gnd","label":"Person Identifier Gnd","values":["1364046563","120012162"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0000-0003-0015-1717","0000-0002-4249-6003","0000-0002-8175-7456","0000-0002-2837-4763"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.dateaccepted","label":"Dc Date Dateaccepted","values":["2026-03-26"]},{"key":"dc:date.issued","label":"Date","values":["2026"]},{"key":"dc:publisher","label":"Institution","values":["Universität Potsdam"]},{"key":"dc:publisher.address","label":"Dc Publisher Address","values":["Am Neuen Palais 10, 14469 Potsdam"]},{"key":"dc:publisher.place","label":"Dc Publisher Place","values":["Potsdam"]},{"key":"dc:type","label":"Dc Type","values":["PhDThesis"]},{"key":"dc:type.dcmitype","label":"Dc Type Dcmitype","values":["Text"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis.doctoral"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Universität Potsdam"]},{"key":"thesis:institution_place","label":"Thesis Institution Place","values":["Potsdam"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["structured editing","block-based editing","domain-specific notations","block-basiertes Editieren","domänenspezifische Notationen","strukturiertes Editieren"]},{"key":"dc:subject.ddc","label":"Dc Subject Ddc","values":["000"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.dcterms_iso639_2","label":"Language (ISO 639-2)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["CC-BY-SA - Namensnennung, Weitergabe zu gleichen Bedingungen 4.0 International"]},{"key":"dc:rights.accessrights","label":"Access Rights","values":["free"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.25932/publishup-70103"]},{"key":"dc:identifier.fulltext","label":"Full Text Identifier","values":["https://publishup.uni-potsdam.de/frontdoor/index/index/docId/70103"]},{"key":"dc:identifier.urn","label":"URN","values":["urn:nbn:de:kobv:517-opus4-701035"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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.","Programme kombinieren Abstraktionen aus verschiedenen Domänen. Die Darstellung des Codes dieser Programme als Text ist häufig nicht die optimale Notation. Domänenspezifische Notationen können Abstraktionen besser bezüglich ihrer Domäne abbilden. Allerdings unterstützen nur wenige Programmiersysteme Autor:innen domänenspezifischer Notationen dabei ihre Notationen in einer Ansicht zu kombinieren. Wir stellen zwei Diskrepanzen fest, insbesondere bei der Kombination mit Code als Text: die Parser--Objektidentität--Diskrepanz beschreibt die Notwendigkeit Text nach jeder Änderung neu zu parsen um seine Programmstruktur abzuleiten, während das zuverlässige Kombinieren von Notationen Objekte mit stabilen Identitäten erfordert. Die Programmbaum--Domänen--Diskrepanz beschreibt die Herausforderung für Autor:innen, die Belange ihrer Domäne aus dem vom Parser produzierten Programmbaum abzuleiten. In dieser Arbeit präsentieren wir ein Programmiersystem, das für rekursives Kombinieren domänenspezifischer Notationen miteinander und mit Code entworfen wurde. Wir präsentieren zwei Methoden, die die Parser--Objektidentität--Diskrepanz lösen, indem sie Änderungen im Text direkt in Änderungen an der Programmstruktur übersetzen. Die erste Methode, Partial-Parsing, generiert automatisch strukturierte Editoren aus Programmiersprachgrammatiken, die dadurch über Programmiersprachen hinweg verfügbar sind. Die zweite Methode, Hybrid-Structured-Editing, integriert sich mit bestehenden Texteditoren. Sie bewahrt selektiv Programmstrukturen wo Einschränkungen (Constraints) von domänenspezifischen Notationen diese Strukturen erfordern. Bezüglich der Programmbaum--Domänen--Diskrepanz bietet unser System ein Rahmenwerk (Framework) mit Abstraktionen für das Ableiten von Belangen domänenspezifischer Notationen an. Es unterstützt Autor:innen dabei, textuellen Code syntaktisch korrekt zu ändern, Code-Muster zu finden, Werte der Laufzeitumgebung auszulesen und Code in die Bedienschnittstelle (User Interface) der Notation einzubetten. Wir evaluieren unser Programmiersystem mithilfe einer Reihe von Fallstudien, sowie einer Studie zur Bedienschnittstelle des strukturierten Editors mit Nutzer:innen. Unsere Evaluierung erlaubt uns zu folgern, dass die präsentierten Konzepte es ermöglichen, Nutzer:innen eine vertraute Bedienschnittstelle zum Editieren anzubieten und gleichzeitig die Komplexität zu lösen, der Autor:innen üblicherweise ausgesetzt wären. Insofern betrachten wir unsere Arbeit als eine Basis für die häufigere und einfachere Erstellung und Integration domänenspezifischer Notationen. Diese wiederum ermöglichen es Nutzer:innen ihre Programme näher an den Problemdomänen auszudrücken."]},{"key":"dc:format.fileid","label":"Dc Format Fileid","values":["file70103-0"]},{"key":"dc:format.filename","label":"Dc Format Filename","values":["beckmann_diss.pdf"]},{"key":"dc:format.filesize","label":"Dc Format Filesize","values":["5941845"]},{"key":"dc:format.medium","label":"Dc Format Medium","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Composing domain-specific notations in programming systems"]},{"key":"dc:title.translated","label":"Dc Title Translated","values":["Komposition domänenspezifischer Notationen in Programmiersystemen"]},{"key":"ddb:contactid","label":"Ddb Contactid","values":["L6000-0724"]},{"key":"ddb:filenumber","label":"Ddb Filenumber","values":["1"]},{"key":"ddb:transfer","label":"Ddb Transfer","values":["https://publishup.uni-potsdam.de/oai/container/index/docId/70103"]}]}],"canonical_facts":{"dc:contributor.advisor":["Hirschfeld, Robert"],"dc:contributor.referee":["Tanimoto, Steve","Scholliers, Christophe"],"dc:creator":["Beckmann, Tom"],"dc:date.dateaccepted":["2026-03-26"],"dc:date.issued":["2026"],"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.","Programme kombinieren Abstraktionen aus verschiedenen Domänen. Die Darstellung des Codes dieser Programme als Text ist häufig nicht die optimale Notation. Domänenspezifische Notationen können Abstraktionen besser bezüglich ihrer Domäne abbilden. Allerdings unterstützen nur wenige Programmiersysteme Autor:innen domänenspezifischer Notationen dabei ihre Notationen in einer Ansicht zu kombinieren. Wir stellen zwei Diskrepanzen fest, insbesondere bei der Kombination mit Code als Text: die Parser--Objektidentität--Diskrepanz beschreibt die Notwendigkeit Text nach jeder Änderung neu zu parsen um seine Programmstruktur abzuleiten, während das zuverlässige Kombinieren von Notationen Objekte mit stabilen Identitäten erfordert. Die Programmbaum--Domänen--Diskrepanz beschreibt die Herausforderung für Autor:innen, die Belange ihrer Domäne aus dem vom Parser produzierten Programmbaum abzuleiten. In dieser Arbeit präsentieren wir ein Programmiersystem, das für rekursives Kombinieren domänenspezifischer Notationen miteinander und mit Code entworfen wurde. Wir präsentieren zwei Methoden, die die Parser--Objektidentität--Diskrepanz lösen, indem sie Änderungen im Text direkt in Änderungen an der Programmstruktur übersetzen. Die erste Methode, Partial-Parsing, generiert automatisch strukturierte Editoren aus Programmiersprachgrammatiken, die dadurch über Programmiersprachen hinweg verfügbar sind. Die zweite Methode, Hybrid-Structured-Editing, integriert sich mit bestehenden Texteditoren. Sie bewahrt selektiv Programmstrukturen wo Einschränkungen (Constraints) von domänenspezifischen Notationen diese Strukturen erfordern. Bezüglich der Programmbaum--Domänen--Diskrepanz bietet unser System ein Rahmenwerk (Framework) mit Abstraktionen für das Ableiten von Belangen domänenspezifischer Notationen an. Es unterstützt Autor:innen dabei, textuellen Code syntaktisch korrekt zu ändern, Code-Muster zu finden, Werte der Laufzeitumgebung auszulesen und Code in die Bedienschnittstelle (User Interface) der Notation einzubetten. Wir evaluieren unser Programmiersystem mithilfe einer Reihe von Fallstudien, sowie einer Studie zur Bedienschnittstelle des strukturierten Editors mit Nutzer:innen. Unsere Evaluierung erlaubt uns zu folgern, dass die präsentierten Konzepte es ermöglichen, Nutzer:innen eine vertraute Bedienschnittstelle zum Editieren anzubieten und gleichzeitig die Komplexität zu lösen, der Autor:innen üblicherweise ausgesetzt wären. Insofern betrachten wir unsere Arbeit als eine Basis für die häufigere und einfachere Erstellung und Integration domänenspezifischer Notationen. Diese wiederum ermöglichen es Nutzer:innen ihre Programme näher an den Problemdomänen auszudrücken."],"dc:format.fileid":["file70103-0"],"dc:format.filename":["beckmann_diss.pdf"],"dc:format.filesize":["5941845"],"dc:format.medium":["application/pdf"],"dc:identifier.doi":["10.25932/publishup-70103"],"dc:identifier.fulltext":["https://publishup.uni-potsdam.de/frontdoor/index/index/docId/70103"],"dc:identifier.urn":["urn:nbn:de:kobv:517-opus4-701035"],"dc:language.dcterms_iso639_2":["eng"],"dc:publisher":["Universität Potsdam"],"dc:publisher.address":["Am Neuen Palais 10, 14469 Potsdam"],"dc:publisher.place":["Potsdam"],"dc:rights":["CC-BY-SA - Namensnennung, Weitergabe zu gleichen Bedingungen 4.0 International"],"dc:rights.accessrights":["free"],"dc:subject":["structured editing","block-based editing","domain-specific notations","block-basiertes Editieren","domänenspezifische Notationen","strukturiertes Editieren"],"dc:subject.ddc":["000"],"dc:title":["Composing domain-specific notations in programming systems"],"dc:title.translated":["Komposition domänenspezifischer Notationen in Programmiersystemen"],"dc:type":["PhDThesis"],"dc:type.dcmitype":["Text"],"ddb:contactid":["L6000-0724"],"ddb:filenumber":["1"],"ddb:transfer":["https://publishup.uni-potsdam.de/oai/container/index/docId/70103"],"person:academictitle":["Prof. Dr."],"person:identifier.gnd":["1364046563","120012162"],"person:identifier.orcid":["0000-0003-0015-1717","0000-0002-4249-6003","0000-0002-8175-7456","0000-0002-2837-4763"],"thesis:degree_level":["thesis.doctoral"],"thesis:institution_name":["Universität Potsdam"],"thesis:institution_place":["Potsdam"]},"updated_at":"2026-11-27T05:28:04Z"}