Article (Périodiques scientifiques)
Implementing an Embedded Compiler using Program Transformation Rules
BISSYANDE, Tegawendé François D Assise; Réveillère, Laurent; Lawall, Julia et al.
2013In Software: Practice and Experience, p. 1..20
Peer reviewed vérifié par ORBi
 

Documents


Texte intégral
spe2225.pdf
Postprint Éditeur (1.63 MB)
Télécharger

Tous les documents dans ORBilu sont protégés par une licence d'utilisation.

Envoyer vers



Détails



Mots-clés :
DSL; compiler construction; internal languages; embedded languages; embedded compilers; program transformation
Résumé :
[en] Domain-specific languages (DSLs) are well-recognized to ease programming and improve robustness for a specific domain, by providing high-level domain-specific notations and verifications of domain-specific properties. The compiler of a DSL, however, is often difficult to develop and maintain, due to the need to define a specific treatment for a large and potentially increasing number of language constructs. To address this issue, we propose an approach for specifying a DSL compiler and verifier using control-flow sensitive concrete-syntax based matching rules. These rules either collect information about the source code to carry out verifications or perform transformations to carry out compilation. Because rules only mention the relevant constructs, using their concrete syntax, and hide the complexity of control-flow graph traversal, it is easy to understand the purpose of each rule. Furthermore, new compilation steps can be added using only a small number of lines of code. We explore this approach in the context of the z2z DSL for network gateway development, and show that the core of its compiler and verifier can be implemented in this manner.
Disciplines :
Sciences informatiques
Auteur, co-auteur :
BISSYANDE, Tegawendé François D Assise  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
Réveillère, Laurent
Lawall, Julia
Bromberg, David
Muller, Gilles
Langue du document :
Anglais
Titre :
Implementing an Embedded Compiler using Program Transformation Rules
Date de publication/diffusion :
06 septembre 2013
Titre du périodique :
Software: Practice and Experience
ISSN :
0038-0644
eISSN :
1097-024X
Pagination :
1..20
Peer reviewed :
Peer reviewed vérifié par ORBi
Disponible sur ORBilu :
depuis le 05 février 2014

Statistiques


Nombre de vues
182 (dont 2 Unilu)
Nombre de téléchargements
736 (dont 1 Unilu)

citations Scopus®
 
3
citations Scopus®
sans auto-citations
3
OpenCitations
 
2
citations OpenAlex
 
5
citations WoS
 
2

Bibliographie


Publications similaires



Contacter ORBilu