Utilize este identificador para referenciar este registo: https://hdl.handle.net/1822/90289

TítuloZipping strategies and attribute grammars
Autor(es)Macedo, José Nuno
Viera, Marcos
Saraiva, João
Palavras-chaveAttribute grammars
Strategic term rewriting
Zippers
Data2022
EditoraSpringer, Cham
RevistaLecture Notes in Computer Science
CitaçãoMacedo, J.N., Viera, M., Saraiva, J. (2022). Zipping Strategies and Attribute Grammars. In: Hanus, M., Igarashi, A. (eds) Functional and Logic Programming. FLOPS 2022. Lecture Notes in Computer Science, vol 13215. Springer, Cham. https://doi.org/10.1007/978-3-030-99461-7_7
Resumo(s)Strategic term rewriting and attribute grammars are two powerful programming techniques widely used in language engineering. The former relies on strategies (recursion schemes) to apply term rewrite rules in defining transformations, while the latter is suitable for expressing context-dependent language processing algorithms. Each of these techniques, however, is usually implemented by its own powerful and large processor system. As a result, it makes such systems harder to extend and to combine. We present the embedding of both strategic tree rewriting and attribute grammars in a zipper-based, purely functional setting. The embedding of the two techniques in the same setting has several advantages: First, we easily combine/zip attribute grammars and strategies, thus providing language engineers the best of the two worlds. Second, the combined embedding is easier to maintain and extend since it is written in a concise and uniform setting. We show the expressive power of our library in optimizing Haskell let expressions, expressing several Haskell refactorings and solving several language processing tasks for an Oberon-0 compiler.
TipoArtigo em ata de conferência
URIhttps://hdl.handle.net/1822/90289
ISBN978-3-030-99460-0
e-ISBN978-3-030-99461-7
DOI10.1007/978-3-030-99461-7_7
ISSN0302-9743
Versão da editorahttps://link.springer.com/chapter/10.1007/978-3-030-99461-7_7
Arbitragem científicayes
AcessoAcesso aberto
Aparece nas coleções:HASLab - Artigos em atas de conferências internacionais (texto completo)

Ficheiros deste registo:
Ficheiro Descrição TamanhoFormato 
P-00W-FM4.pdf428,68 kBAdobe PDFVer/Abrir

Partilhe no FacebookPartilhe no TwitterPartilhe no DeliciousPartilhe no LinkedInPartilhe no DiggAdicionar ao Google BookmarksPartilhe no MySpacePartilhe no Orkut
Exporte no formato BibTex mendeley Exporte no formato Endnote Adicione ao seu ORCID