Tracing Program Transformations with String Origins - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2014

Tracing Program Transformations with String Origins


Program transformations play an important role in domain-specific languages and model-driven development. Tracing the execution of such transfor-mations has well-known benefits for debugging, visualization and error reporting. In this paper, we introduce string origins, a lightweight, generic and portable technique to establish a tracing relation between the textual fragments in the input and output of a program transformation. We discuss the semantics and the imple-mentation of string origins using the Rascal meta programming language as an example. We illustrate the utility of string origins by presenting data structures and operations for tracing generated code, implementing protected regions, performing name resolution and fixing inadvertent name capture in generated code.


Other [cs.OH]
Fichier principal
Vignette du fichier
23106B.pdf (576 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01110885 , version 1 (29-01-2015)



Pablo Inostroza, Tijs van Der Storm, Sebastian Erdweg. Tracing Program Transformations with String Origins. ICMT - Proceedings of International Conference on Model Transformation, 2014, York, United Kingdom. pp.154 - 169, ⟨10.1007/978-3-319-08789-4_12⟩. ⟨hal-01110885⟩


80 View
170 Download



Gmail Facebook Twitter LinkedIn More