Utilize este identificador para referenciar este registo:
https://hdl.handle.net/1822/68613
Título: | Embedding attribute grammars and their extensions using functional zippers |
Autor(es): | Martins, Pedro Fernandes, João Paulo Saraiva, João Van Wyk, Eric Sloane, Anthony |
Palavras-chave: | Attribute grammars Functional programming Functional zippers Bidirectional transformations |
Data: | 2016 |
Editora: | Elsevier Science BV |
Revista: | Science of Computer Programming |
Resumo(s): | Attribute grammars are a suitable formalism to express complex software language analysis and manipulation algorithms, which rely on multiple traversals of the underlying syntax tree. Attribute grammars have been extended with mechanisms such as reference, higher order and circular attributes. Such extensions provide a powerful modular mechanism and allow the specification of complex computations. This paper studies an elegant and simple, zipper-based embedding of attribute grammars and their extensions as first class citizens. In this setting, language specifications are defined as a set of independent, off-the-shelf components that can easily be composed into a powerful, executable language processor. Techniques to describe automatic bidirectional transformations between grammars in this setting are also described. Several real examples of language specification and processing programs have been implemented. (C) 2016 Elsevier B.V. All rights reserved. |
Tipo: | Artigo |
URI: | https://hdl.handle.net/1822/68613 |
DOI: | 10.1016/j.scico.2016.03.005 |
ISSN: | 0167-6423 |
Versão da editora: | https://www.sciencedirect.com/science/article/pii/S0167642316000812 |
Arbitragem científica: | yes |
Acesso: | Acesso aberto |
Aparece nas coleções: | HASLab - Artigos em revistas internacionais |
Ficheiros deste registo:
Ficheiro | Descrição | Tamanho | Formato | |
---|---|---|---|---|
Embedding.attribute.grammars.and.their.extensions.using.functional.zippers-SCP-published-2016.pdf | 1,48 MB | Adobe PDF | Ver/Abrir |