Tracing Program Transformations with String Origins

Abstract : 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.
Type de document :
Communication dans un congrès
ICMT - Proceedings of International Conference on Model Transformation, 2014, York, United Kingdom. pp.154 - 169, 2014, 〈10.1007/978-3-319-08789-4_12〉
Liste complète des métadonnées

Littérature citée [14 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01110885
Contributeur : Anne Jaigu <>
Soumis le : jeudi 29 janvier 2015 - 10:30:00
Dernière modification le : mercredi 20 décembre 2017 - 17:42:07
Document(s) archivé(s) le : mercredi 27 mai 2015 - 13:51:03

Fichier

23106B.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

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, 2014, 〈10.1007/978-3-319-08789-4_12〉. 〈hal-01110885〉

Partager

Métriques

Consultations de la notice

117

Téléchargements de fichiers

99