Here's a PHP->C->Python->JavaScript->original PHP quine I wrote a few weeks ago: <a href="https://gist.github.com/749686" rel="nofollow">https://gist.github.com/749686</a><p>And here's a little write-up on how I approached the problem: <a href="https://nolancaudill.com/2011/01/01/how-to-build-a-quine/" rel="nofollow">https://nolancaudill.com/2011/01/01/how-to-build-a-quine/</a>
In Lisp they're pretty easy:<p>((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x))))<p>returns itself (note: written in Clisp; I've had issues with Lispworks doing things properly). You can also stuff messages in there pretty easily:<p>((lambda (x y) (list x (list 'quote x) y)) '(lambda (x y) (list x (list 'quote x) y)) "Hello, world")
A friend wrote a neat C one a while back: <a href="http://dwcope.freeshell.org/projects/spinningquine/" rel="nofollow">http://dwcope.freeshell.org/projects/spinningquine/</a>