gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] [Stan Shebs <address@hidden>] Re: GCL as gcc front end?


From: Camm Maguire
Subject: [Gcl-devel] [Stan Shebs <address@hidden>] Re: GCL as gcc front end?
Date: 19 Jun 2002 23:47:37 -0400

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah
------- Start of forwarded message -------
Message-ID: <address@hidden>
Date: Wed, 19 Jun 2002 15:06:58 -0700
From: Stan Shebs <address@hidden>
Organization: Apple Computer, Inc.
MIME-Version: 1.0
To: Camm Maguire <address@hidden>
CC: address@hidden, address@hidden
Subject: Re: GCL as gcc front end?
References: <address@hidden>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Camm Maguire wrote:
> 
> Greetings!  I've recently been appointed by RMS to maintain gcl, the
> official GNU Common Lisp.  I was wondering about the prospects of
> eventually including gcl as a supported front-end to the gcc suite of
> compilers.  After all, gcj is there, and it has garbage collection,
> and a runtime required (I think) too.  What would it take?  As a
> *very* long term goal, that is?

Although there are probably plenty of gotchas, on the plus side,
you might not need to do much more than take the C-generating
routines and set them up to generate the exact tree structure
that GCL's C output would have if it were being compiled with GCC.
Easy to validate that way, just dump the GCL->C->tree and the
GCL->tree versions and compare.

Later on, you might want to sneak in optimizations that are
difficult to express in C (otherwise why bother integrating
with GCC?), but you'll have a working compiler as the starting
point.

(A very sad state for Lisp to have fallen to, alas - my pre-GCC
career was writing Lisp compilers in Lisp, it would have been
shocking to think of doing it in C...)

Stan


------- End of forwarded message -------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]