Gå til søgefeltetSpring over til navigationSpring til hovedindhold

Programming macro tree transducers

  • Københavns Universitet
    ,
  • University of Nottingham
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Bidrag til bog/antologi
Forskning
Peer-review

Resume

A tree transducer is a set of mutually recursive functions transforming an input tree into an output tree. Macro tree transducers extend this recursion scheme by allowing each function to be defined in terms of an arbitrary number of accumulation parameters. In this paper, we show how macro tree transducers can be concisely represented in Haskell, and demonstrate the benefits of utilising such an approach with a number of examples. In particular, tree transducers afford a modular programming style as they can be easily composed and manipulated. Our Haskell representation generalises the original definition of (macro) tree transducers, abolishing a restriction on finite state spaces. However, as we demonstrate, this generalisation does not affect compositionality.

Publikation information

Produktionstype

Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Bidrag til bog/antologi
Forskning
Peer-review

Originalsprog

Udefineret/Ukendt

Sider fra-til (Antal sider)

Sider 61-72 (12 sider)

Publikationsmilepæle

  • Udgivet - 01/09/2013

Publikationsstatus

Udgivet - 01/09/2013

Udgivelsessted

New York, NY, USA

Forlag

Association for Computing Machinery, USA
978-1-4503-2389-5

Publikations IDer

  • Scopus: 84887216048

Titel på værtspublikation

Proceedings of the 9th ACM SIGPLAN Workshop on Generic Programming

Metrikker

PlumX, åbner i en ny fane

Antal citationer
5
Hentninger
13