To the top

Page Manager: Webmaster
Last update: 9/11/2012 3:13 PM

Tell a friend about this page
Print version

Attribute grammars in Erl… - University of Gothenburg, Sweden Till startsida
To content Read more about how we use cookies on

Attribute grammars in Erlang

Conference paper
Authors Ulf Norell
Alex Gerdes
Published in Proceedings of the Fourteenth ACM SIGPLAN Workshop on Erlang
Pages 1-12
ISBN 978-1-4503-3805-9
Publication year 2015
Published at
Pages 1-12
Language en
Keywords Attribute grammar, Erlang, data generation, QuickCheck
Subject categories Computer and Information Science


Attribute grammars provide a modular way of defining functions over tree-shaped data, allowing each aspect of the computation to be defined as a separate attribute. We present the design and implementation of an attribute grammar system for Erlang that lets you define attributes elegantly using a special purpose syntax. In addition to the tree traversals supported by traditional attribute grammar systems, our system also provides unfold operations that makes it possible to use attributes when constructing data. Our attributes can be used to write QuickCheck generators.

Page Manager: Webmaster|Last update: 9/11/2012

The University of Gothenburg uses cookies to provide you with the best possible user experience. By continuing on this website, you approve of our use of cookies.  What are cookies?