Monilogging for Executable Domain-Specific Languages - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2021

Monilogging for Executable Domain-Specific Languages

Dorian Leroy
  • Function : Author
  • PersonId : 1107214
Benoît Lelandais
Marie-Pierre Oudot
  • Function : Author
  • PersonId : 1111668
Benoit Combemale

Abstract

Runtime monitoring and logging are fundamental techniques for analyzing and supervising the behavior of computer programs. However, supporting these techniques for a given language induces significant development costs that can hold language engineers back from providing adequate logging and monitoring tooling for new domain-specific modeling languages. Moreover, runtime monitoring and logging are generally considered as two different techniques: they are thus implemented separately which makes users prone to overlooking their potentially beneficial mutual interactions. We propose a language-agnostic, unifying framework for runtime monitoring and logging and demonstrate how it can be used to define loggers, runtime monitors and combinations of the two, aka. moniloggers. We provide an implementation of the framework that can be used with Java-based executable languages, and evaluate it on 2 implementations of the NabLab interpreter, leveraging in turn the instrumentation facilities offered by Truffle, and those offered by AspectJ.
Fichier principal
Vignette du fichier
Monilogging_for_Executable_DSLs.pdf (932.05 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03358061 , version 1 (29-09-2021)

Identifiers

Cite

Dorian Leroy, Benoît Lelandais, Marie-Pierre Oudot, Benoit Combemale. Monilogging for Executable Domain-Specific Languages. SLE 2021 - 14th International Conference on Software Language Engineering, Oct 2021, Chicago, United States. pp.1-14, ⟨10.1145/3486608.3486906⟩. ⟨hal-03358061⟩
450 View
304 Download

Altmetric

Share

Gmail Mastodon Facebook X LinkedIn More