From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: Problem about source code of lisp Date: Sun, 17 Sep 2006 03:52:11 +0200 Organization: Informatimago Message-ID: <87zmcz1cqc.fsf@thalassa.informatimago.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158460836 18343 80.91.229.2 (17 Sep 2006 02:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Sep 2006 02:40:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 17 04:40:34 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GOma6-0002PP-Vg for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Sep 2006 04:40:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GOma6-0007Tg-D9 for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Sep 2006 22:40:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-X-Trace: individual.net j4tKyagdKdMwaWjMGQMM5AZSDoJ2o/qxfIEbhICEiW15HGkLMZ Face: iVBORw0KGgoAAAANSUhEoUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:vcmAxGhEt3y3L6O5GiyjfXZY51o= Original-Xref: shelby.stanford.edu gnu.emacs.help:141809 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37431 Archived-At: "jronald" writes: > I want to learn some principles of the implementation of lisp. I can't find > any doc.I have downloaded the clisp source. After untar, its size if 18.6M. > There are many .d and .lisp files, and a few .c files. I don't know how to > start. Could anyone help me? I wouldn't start with a full Common Lisp implementation. First, read SICP http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-4.html You'll find Chapter 4 interesting. Then you may want to buy and read "LISP IN SMALL PIECES" (no on-line version) http://www-spi.lip6.fr/~queinnec/WWW/LiSP.html or read a CL implementation sources, but I'd advise one that is written in Lisp, not one written in C like "C"lisp. Have a look at the sources of OpenMCL, probably the cleanest, or of SBCL. They have only little bootstrap C or assembly code, compared to emacs lisp or clisp that are mostly written in C. On the other hand, one part that might be interesting to read in clisp is the compiler, which is written in lisp and is simplier than the other compilers since it targets a lisp-friendly virtual machine. -- __Pascal Bourguignon__ http://www.informatimago.com/ "I have challenged the entire quality assurance team to a Bat-Leth contest. They will not concern us again."