Visual Replacements: Cross-language Domain-specific Representations in Structured Editors
To help developers work at the level of abstraction of their choice, some editors offer to replace parts of source code with domain-specific representations (DSRs). Typically, such replacements are language-specific and optimized to limited use-cases. In this paper, we extend a general-purpose structured editor with visual replacements, a mechanism to replace code of any programming language with DSRs. A visual replacement consists of language-dependent queries to map arbitrary syntax trees and a language-independent DSR of differing abstraction and interactivity, ranging from simple images to graphical user interfaces that modify source code. Our extension synchronizes source code and DSR automatically, while ensuring that language support such as autocompletion and error checking work even inside a replacement. We demonstrate the use and applicability of the replacement mechanism in three case studies.
Mon 23 OctDisplayed time zone: Lisbon change
11:00 - 12:30 | |||
11:00 30mTalk | Game Engine Wizardry for Programming Mischief PAINT Riemer van Rozen CWI Link to publication DOI | ||
11:30 30mTalk | Visual Replacements: Cross-language Domain-specific Representations in Structured Editors PAINT Tom Beckmann Hasso Plattner Institute, Daniel Stachnik Hasso Plattner Institute, Jens Lincke University of Potsdam; Hasso Plattner Institute, Robert Hirschfeld University of Potsdam; Hasso Plattner Institute Link to publication DOI | ||
12:00 30mTalk | Transforming an internal textual DSL into a Blended Modelling Environment PAINT Aleandro Mifsud University of Amsterdam & Axini BV, Georgia Samaritaki University of Amsterdam, Ulyana Tikhonova Axini, Jouke Stoel Axini BV Link to publication DOI |