Subject: Re: CLISP to C?
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 18 May 2001 04:41:46 GMT
Newsgroups: comp.lang.lisp
Message-ID: <9e296a$99247$1@fido.engr.sgi.com>
Neil Conway  <spam@klamath.dyndns.org> wrote:
+---------------
| Can CLISP compile LISP source to C source code?
| I was under the impression it couldn't -- but then I saw this entry in the 
| manpage for clisp:
|         *.c    C code, compiled from lisp source by clisp
| If CLISP can do this, how is it done? Or is the manpage mistaken?
+---------------

Uh... I think "somewhat misleading" might be the best phrase.
AFAIK, when CLISP "compiles" it's only to byte codes. But part
of the build-CLISP-from-scratch process is to take certain XXX.d
files and massage them into XXX.c files.  This is done with the
small program "comment5", which is itself built during the build
process. (See "utils/comment5.{c,d}".)


-Rob

-----
Rob Warnock, 31-2-510		rpw3@sgi.com
SGI Network Engineering		<URL:http://reality.sgi.com/rpw3/>
1600 Amphitheatre Pkwy.		Phone: 650-933-1673
Mountain View, CA  94043	PP-ASEL-IA