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. Recently, Attribute Grammars have been extended with mechanisms such as references and high-order and circular attributes. Such extensions provide a powerful modular mechanism and allow the specification of complex fix-point computations. This paper defines 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. Several real examples of language specification and processing programs have been implemented in this setting. © 2013 Springer-Verlag.
CITATION STYLE
Martins, P., Fernandes, J. P., & Saraiva, J. (2013). Zipper-based attribute grammars and their extensions. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8129 LNCS, pp. 135–149). Springer Verlag. https://doi.org/10.1007/978-3-642-40922-6_10
Mendeley helps you to discover research relevant for your work.