Debugging with Domain-Specific Events via Macros
Extensible languages enable the convenient construction of many kinds of domain-specific languages (DSLs) by mapping the domain-specific surface syntax into the host language’s core forms in a layered and composable way. The host language’s debugger, however, reports evaluation and data details in ways that reflect the host language, instead of the DSL in its own terms, and closing the gap may require more than correlating host evaluation steps to the original DSL source. In this paper, we describe an approach to DSL construction with macros that pairs the mapping of DSL terms to host terms with a mapping to convert primitive events back to domain-specific concepts. Domain-specific events are then suitable for presenting to a user or wiring into a domain-specific visualization. We present a core model of evaluation and events, and we present a language design—analogous to pattern-based notations for macros, but in the other direction—for describing how events in a DSL’s expansion are mapped to events at the DSL’s level.
Mon 23 OctDisplayed time zone: Tijuana, Baja California change
15:30 - 17:00 | DSLsSLE at Regency B Chair(s): Jurgen Vinju Centrum Wiskunde & Informatica / Technische Universiteit Eindhoven | ||
15:30 25mTalk | Debugging with Domain-Specific Events via Macros SLE DOI | ||
15:55 25mTalk | A Chrestomathy of DSL implementations SLE Simon Schauss University of Koblenz-Landau, Ralf Laemmel University of Koblenz-Landau, Germany, Johannes Härtel University of Koblenz-Landau, Germany, Marcel Heinz University of Koblenz-Landau, Germany, Kevin Klein University of Koblenz-Landau, Lukas Härtel University of Koblenz-Landau, Germany, Thorsten Berger Chalmers University of Technology, Sweden / University of Gothenburg, Sweden DOI | ||
16:20 25mTalk | A Requirements Engineering Approach for Usability-Driven DSL Development SLE Ankica Barisic NOVA-LINCS - Universidade Nova de Lisboa, Dominique Blouin LTCI Lab, Telecom ParisTech, Université Paris-Saclay, Vasco Amaral NOVA-LINCS, FCT/UNL, Miguel Goulao NOVA-LINCS, FCT/UNL DOI | ||
16:45 25mTalk | Better Call the Crowd. Using Crowdsourcing to Shape the Notation of Domain-Specific Languages SLE Marco Brambilla Politecnico di Milano, Jordi Cabot ICREA - UOC, Javier Luis Cánovas Izquierdo IN3 - UOC, Andrea Mauri Politecnico di Milano, Italy DOI |