From: Didier Verna on

Hello,

I would like to have an idea of how much of the lisp compilers you know
are written in lisp and how much is written in something else.

A similar but probably a bit different question is: how much of the lisp
compilers you know involves lisp-level program transformation, and how
much actually involves traduction to machine code ?

Thanks

--
5th European Lisp Workshop at ECOOP 2008, July 7: http://elw.bknr.net/2008/

Didier Verna, didier(a)lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bic�tre, France Fax.+33 (0)1 53 14 59 22 didier(a)xemacs.org
From: Pascal J. Bourguignon on
Didier Verna <didier(a)lrde.epita.fr> writes:

> Hello,
>
> I would like to have an idea of how much of the lisp compilers you know
> are written in lisp and how much is written in something else.

clisp, : implemented mostly in C ; compiler and some library functions
implemented in CL.

mcl, openmcl, sbcl, cmucl : implemented almost 100% in CL (plus some
"bootstrap" or low level C).

emacs-cl : implemented mostly in emacs-lisp, plus some library in CL.
100% lisp then...

ecl, gcl : mostly in lisp, with some C libraries (eg. binutils,
gmp). compilers implemented in CL.


abcl : mostly in java, some CL ? (I've not checked).


> A similar but probably a bit different question is: how much of the lisp
> compilers you know involves lisp-level program transformation, and how
> much actually involves traduction to machine code ?

And how much involves intermediate code transformation and
optimization. IIRC, in sbcl it's the most part of the compiler.

Also, you could consider that all the macros, being compiler hooks,
are lisp-level program transformations, and weight heavily on that
side.

--
__Pascal Bourguignon__
From: Alex Mizrahi on
PJB> abcl : mostly in java, some CL ? (I've not checked).

compiler is 100% CL, runtime is mostly in Java


From: Christophe on
On 23 avr, 12:26, p...(a)informatimago.com (Pascal J. Bourguignon)
wrote:
> Didier Verna <did...(a)lrde.epita.fr> writes:
> >        Hello,
>
> > I would like to have an idea of how much of the lisp compilers you know
> > are written in lisp and how much is written in something else.
>
> clisp, : implemented mostly in C ; compiler and some library functions
>          implemented in CL.
>
> mcl, openmcl, sbcl, cmucl : implemented almost 100% in CL (plus some
>                             "bootstrap" or low level C).
>
> emacs-cl : implemented mostly in emacs-lisp, plus some library in CL.
>            100% lisp then...
>
> ecl, gcl : mostly in lisp, with some C libraries (eg. binutils,
>            gmp). compilers implemented in CL.
>
> abcl : mostly in java, some CL ? (I've not checked).
>
> > A similar but probably a bit different question is: how much of the lisp
> > compilers you know involves lisp-level program transformation, and how
> > much actually involves traduction to machine code ?
>
> And how much involves intermediate code transformation and
> optimization.  IIRC, in sbcl it's the most part of the compiler.
>
> Also, you could consider that all the macros, being compiler hooks,
> are lisp-level program transformations, and weight heavily on that
> side.
>
> --
> __Pascal Bourguignon__

Hi all,

To speak about real Common Lisp in real World :

Allegro Cl : if my memory is good : Lisp, a % (I don't know the value)
of C and a very little % of ASM .

About Lispworks, I don't know.

Best Regards,

Christophe

From: Didier Verna on
Christophe <christophe.allegrini(a)birdtechnology.net> wrote:

> To speak about real Common Lisp in real World :
>
> Allegro Cl : if my memory is good : Lisp, a % (I don't know the value)
> About Lispworks, I don't know.

So, you actually don't know much about Real Common Lisp in Real World,
do you :-p

--
5th European Lisp Workshop at ECOOP 2008, July 7: http://elw.bknr.net/2008/

Didier Verna, didier(a)lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bic�tre, France Fax.+33 (0)1 53 14 59 22 didier(a)xemacs.org