Sciweavers

HASKELL
2008
ACM

Clase: cursor library for a structured editor

14 years 17 days ago
Clase: cursor library for a structured editor
The “zipper” is a well known design pattern for providing a cursorlike interface to a data structure. However, the classic treatise by Huet only scratches the surface of some of the potential applications of the zipper. In this paper we take inspiration from Huet, and build 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.
Tristan O. R. Allwood, Susan Eisenbach
Added 09 Nov 2010
Updated 09 Nov 2010
Type Conference
Year 2008
Where HASKELL
Authors Tristan O. R. Allwood, Susan Eisenbach
Comments (0)