Computing Publications

Publications Home » CLASE: Cursor Library for A Struc...

CLASE: Cursor Library for A Structured Editor (Tool Demo)

Tristan Allwood, Susan Eisenbach

Conference or Workshop Paper
Haskell Symposium '08
2008
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 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.

Keywords
SLURP
Haskell
PDF of full publication (109 kilobytes)
(need help viewing PDF files?)
BibTEX file for the publication
N.B.
Conditions for downloading publications from this site.
 

pubs.doc.ic.ac.uk: built & maintained by Ashok Argent-Katwala.