[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

self reproducing code



    Date: Fri, 7 Oct 88 13:30:30 MDT
    From: carr%car@cs.utah.edu (Harold Carr)
    A couple of years ago I found an example of self reproducing code....
    in Common Lisp, ...

My favorite example:

  (let ((let '`(let ((let ',let))
		 ,let)))
    `(let ((let ',let))
       ,let))

I believe that Mike McMahon is the author of this variant.  It is
unfortunate that this isn't standard Scheme because of the use of 
LET as an identifier...