April 27, 2004

One of Jack Coleman's posts mentions something called SDRAW, which he said was helping him visualize cons structures. I hadn't heard of it before, but googling turned up a copy of the SDRAW code available from David Touretzky.

? (sdraw '((a b)(c d)))

 |                       |
 v                       v
[*|*]--->[*|*]--->NIL   [*|*]--->[*|*]--->NIL
 |        |              |        |
 v        v              v        v
 A        B              C        D

(This example is from a document by Lee Spector on Lisp internals.)

Posted by jjwiseman at April 27, 2004 09:11 AM
Post a comment

Email Address:


Unless you answer this question, your comment will be classified as spam and will not be posted.
(I'll give you a hint: the answer is “lisp”.)


Remember info?