3 ms·
I would swear I read some Lisp-related paper about this with some nice Lisp advocacy in it, too. Aha, here it is: http://www.cs.berkeley.edu/~fateman/papers/AD
by kazinator 11y ago
I would swear I read some Lisp-related paper about this with some nice Lisp advocacy in it, too.
Aha, here it is: http://www.cs.berkeley.edu/~fateman/papers/ADIL.pdf http://www.cs.berkeley.edu/~fateman/papers/ADIL.pdf
> For fans of Lisp, there is no question that one motivation is to show how easy it is to implement in Lisp.
Lisp provides a natural representation for programs as data and a natural form for writing programs that
write programs, which is what we do in ADIL. The code is short, and is in ANSI standard Common Lisp.
Since it is not "naive" code written in just the obvious idioms of introductory Lisp, it illustrates, for those
with only a cursory familiarity, that Lisp is more than
CAR
and
CDR. In fact we did not use those routines
at all.
Ah, but you did use A and D. cAr-tomatic cDr-ivation!
:)