Strengthening the Zipper
File(s) clase-cursor-library-overview.pdf (383.54 KB)
Accepted version
Author(s)
Allwood, T
Eisenbach, S
Type
Conference Paper
Abstract
The "zipper" is a well known design pattern for providing a cursor-like interface to a data structure. However, the classic treatise by Huet only scratches the surface of some of its potential applications. In this paper we take inspiration from Huet, and describe a library suitable as an underpinning for structured editors. 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.
Date Issued
2009
Citation
2009, pp.2-17
Source Title
Workshop on Language Descriptions Tools and Applications (LDTA) 2009
Start Page
2
End Page
17
Copyright Statement
© 2010 Elsevier B.V. All rights reserved.
Source
Workshop on Language Descriptions Tools and Applications (LDTA) 2009
Source Place
York, UK
Start Date
2009-03-27
Finish Date
2009-03-28
Coverage Spatial
York, UK
