KIT | KIT-Bibliothek | Impressum | Datenschutz

Efficient Development of Consistent Projectional Editors using Grammar Cells

Völter, Markus; Szabó, Tamás; Lisson, Sascha; Kolb, Bernd; Erdweg, Sebastian ORCID iD icon 1; Berger, Thorsten
1 Institut für Programmstrukturen und Datenorganisation (IPD), Karlsruher Institut für Technologie (KIT)

Abstract (englisch):

The definition of a projectional editor does not just specify the notation of a language, but also how users interact with the notation. Because of that it is easy to end up with different interaction styles within one and between multiple languages. The resulting inconsistencies have proven to be a major usability problem. To address this problem, we introduce grammar cells, an approach for declaratively specifying textual notations and their interactions for projectional editors. In the paper we motivate the problem, give a formal definition of grammar cells, and define their mapping to low-level editor behaviors. Our evaluation based on project experience shows that grammar cells improve editing experience by providing a consistent and intuitive "text editor-like" user experience for textual notations. At the same time they do not limit language composability and the use of non-Textual notations, the primary benefits of projectional editors. We have implemented grammar cells for Jetbrains MPS, but they can also be used with other projectional editors.


Zugehörige Institution(en) am KIT Institut für Programmstrukturen und Datenorganisation (IPD)
Publikationstyp Proceedingsbeitrag
Publikationsdatum 20.10.2016
Sprache Englisch
Identifikator ISBN: 978-145034447-0
KITopen-ID: 1000188571
Erschienen in SLE 2016 - Proceedings of the 2016 ACM SIGPLAN International Conference on Software Language Engineering, co-located with SPLASH 2016; Amsterdam, Niederlande, 31.10.-01.11.2016
Veranstaltung 9th ACM SIGPLAN International Conference on Software Language Engineering (2016), Amsterdam, Niederlande, 31.10.2016 – 01.11.2016
Verlag Association for Computing Machinery (ACM)
Seiten S. 28-40
Schlagwörter Jetbrains MPS; Language engineering; Language workbenches; Projectional editing; Usability
Nachgewiesen in Scopus
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page