Skip to main navigation Skip to search Skip to main content

Object-oriented design pattern for DSL program monitoring

  • LAB-STICC

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

5 Citations (Scopus)

Abstract

To ease domain-specific language (DSL) development, a range of language workbenches have been created, which provide language design facilities and programming tools, like editors and validators. In spite of these developments, there is a perceived lack of tool support for execution monitoring, which is the basic block for program validation and maintenance. To partially address this issue some language workbenches offer ad-hoc solutions for DSL debugging, but lack support for other monitoring features. In the literature, a number of domain-specific monitoring tools have been proposed. However, there is no clear way for integrating these developments in existing language workbenches. This paper presents ten requirements needed for creating a modular and composable DSL monitoring infrastructure and proposes an object-oriented design pattern for DSL program monitoring. This pattern provides a practical answer to the problem of interfacing the runtime of a DSL with concrete domain-specific monitoring tools. To show the practicability of our approach, we add monitoring support to a simple lambda calculus, without changing the standard interpreter. The ease of integrating monitoring tools is shown through the development of a tracer and the integration of an off-The-shelf domain-specific profiler.

Original languageEnglish
Title of host publicationSLE 2016 - Proceedings of the 2016 ACM SIGPLAN International Conference on Software Language Engineering, co-located with SPLASH 2016
EditorsDaniel Varro, Daniel Varro, Emilie Balland, Tijs van der Storm
PublisherAssociation for Computing Machinery, Inc
Pages70-83
Number of pages14
ISBN (Electronic)9781450344470
DOIs
Publication statusPublished - 20 Oct 2016
Event9th ACM SIGPLAN International Conference on Software Language Engineering, SLE 2016 - Amsterdam, Netherlands
Duration: 31 Oct 2016 → 1 Nov 2016

Publication series

NameSLE 2016 - Proceedings of the 2016 ACM SIGPLAN International Conference on Software Language Engineering, co-located with SPLASH 2016

Conference

Conference9th ACM SIGPLAN International Conference on Software Language Engineering, SLE 2016
Country/TerritoryNetherlands
CityAmsterdam
Period31/10/16 → 1/11/16

Keywords

  • Domain-specific language
  • Execution monitoring
  • Language workbench

Fingerprint

Dive into the research topics of 'Object-oriented design pattern for DSL program monitoring'. Together they form a unique fingerprint.

Cite this