Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. Artificial Intelligence Lab Publications
  4. AI Memos (1959 - 2004)
  5. XP. A Common Lisp Pretty Printing System

XP. A Common Lisp Pretty Printing System

Thumbnail Image
Download
Name

AIM-1102.pdf

Size

5.76 MB

Format

Adobe PDF

Checksum (MD5)

d6dbcbfc0d2d65941cc96aa0c9e1f624

Thumbnail Image
Download
Name

AIM-1102.ps

Size

7.14 MB

Format

PostScript

Checksum (MD5)

f02a6b4c531d9f9ce61529f7629a740a

Author(s)
Waters, Richard C.
Date Issued
March 1, 1989
Series/Report no.
AIM-1102
Abstract
XP provides efficient and flexible support for pretty printing in Common Lisp. Its single greatest advantage is that it allows the full benefits of pretty printing to be obtained when printing data structures, as well as when printing program code. XP is efficient, because it is based on a linear time algorithm that uses only a small fixed amount of storage. XP is flexible, because users can control the exact form of the output via a set of special format directives. XP can operate on arbitrary data structures, because facilities are provided for specifying pretty printing methods for any type of object. XP also modifies the way abbreviation based on length, nesting depth, and circularity is supported so that they automatically apply to user-defined functions that perform output ??g., print functions for structures. In addition, a new abbreviation mechanism is introduced that can be used to limit the total numbers of lines printed.
Persistent DSpace Link
http://hdl.handle.net/1721.1/6503
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.