Skip to main content
Article thumbnail
Location of Repository

Structures

By Tristan O. R. Allwood and Susan Eisenbach

Abstract

The zipper is a well known design pattern for providing a cursorlike interface to a data structure. However, the classic treatise by Huet (1) only scratches the surface of some of the potential applications of the zipper. In this work we have taken inspiration from Huet, and built a library suitable as an underpinning for a structured editor for programming languages. We consider a zipper structure that is suitable for traversing heterogeneous data types, encoding routes to other places in the tree (for bookmark or quick-jump functionality), expressing lexically bound information using contexts, and traversals for rendering a program indicating where the cursor is currently focused in the whole

Topics: Categories and Subject Descriptors D.1.1 [Programming Techniques
Year: 2013
OAI identifier: oai:CiteSeerX.psu:10.1.1.352.6371
Provided by: CiteSeerX
Download PDF:
Sorry, we are unable to provide the full text but you may find it at the following location(s):
  • http://citeseerx.ist.psu.edu/v... (external link)
  • http://pubs.doc.ic.ac.uk/clase... (external link)
  • Suggested articles


    To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.