On Sun, Jan 23, 2011 at 8:12 PM, Didier Verna <did...@lrde.epita.fr> wrote:

> Juan Jose Garcia-Ripoll <juanjose.garciarip...@googlemail.com> wrote:
>
> > It depends :-) I got as far as being able to link ECL into Emacs long
> > long time ago.
>
>   No kidding!?
>

No, it is serious, but it did not go very far. You have to understand this
was at the beginning of ECL, around the San Francisco ALU meeting, when ECL
was still very immature and embedding was not as easy.


> > This involved quite some heavy hacking of the program, to remove its
> > garbage collector and replace it with the Boehm-Weiser one
>
>   You mean Emacs's gc right?
>

Yes. I realized it from the very beginning: if I wanted ECL to manipulate
Emacs structures I could not allow Emacs to collect memory at will.
Replacing the garbage collector was not easy, but not too hard. I had to
work with bare Emacs (not Xemacs), which at the time had a much smaller code
base, removing all memory allocation routines and using the Boehm Weiser
ones. The result was ok. I had a working Emacs, which was slow because I had
not tweaked the use of the garbage collector (no distinction between
pointer-full and pointer-less memory, no customized GC procedures,...) and
because I was not very good at bootstrapping it :-)


>  Yes. Then, I think step 2 would be to implement Emacs Lisp on top of
> ECL in order to preserve compatibility with existing stuff. Then we
> could gradually move the core and other libs to a true CL
> implementation.
>
> But first it would be interesting to see whether there are good elisp
> > compilers that work with ECL.
>
>   What do you mean?
>

What I mean is that if one is eventually to replace Elisp with Common Lisp
it would be worth having a look at the existing Elisp->Common Lisp
converters. I believe there used to be one, but I do not know whether it
still works, or whether it could support ECL.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to