Log in

New stuff on Peter Norvig's site, Converting Common Lisp to Dylan:

Historical note: I recently found this 8-year old code hidden in the attic. Some readers might find it useful as an example of (1) 40,000 lines of code in the Dylan language (almost), or (2) the powerful pretty-printing capabilities in Common Lisp. Not many people appreciate that you can produce nicely formatted output so easily -- here I produce Dylan code with nice indentation, to any specified column width, just by converting Lisp to a parse-tree syntax that is equivalent to Dylan, and then writing pretty-print directives for the parse-trees. All the rest is handled automatically.

As I told swm, haahr, and jrb, finding this old code made me feel like Dorothy waking up from her dream: "And you were in it, and you, and you. Some of it was beautiful, but most of it ..." well, most of it didn't turn out the way we hoped back in 1994-95.