On Mon, May 30, 2011 at 6:08 PM, Ram Krishnan <kriyat...@gmail.com> wrote:

> One piece of context here is that the embedded ECL that Terje is using in
> the iPhone Simulator build (or an iPhone device build) doesn't have the
> regular compiler, only the bytecode compiler. I tried a quick test with the
> attached patch on swank-loader.lisp (CVS HEAD), which changes the
> swank-loader to simply load the swank packages instead of compile/loading
> them and it works around the "Cannot print object readably" error.
>

The bytecodes compiler was not using the new toplevel compiler which has
been extended to compile files. The changes w.r.t to form compilation are
not trivial and involve among other things: externalizing constants,
replacing complex constants with MAKE-LOAD-FORM expressions, interpretation
of EVAL-WHEN statements, fixes in DEFMACRO to expand using EVAL-WHEN...

I have been working on this during the last days. The CVS tree now contains
a different version of the bytecodes compiler that is now capable of
producing files and seems to work with Slime. The only thing is that slime
has to be changed to work with the bytecodes compiler. The patches are
attached.

Nevertheless, consider this all to be experimental. This is a new tool and,
as usual, it will need some fine tuning and polishing.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com

Attachment: slime-ecl-bytecmp.diff
Description: Binary data

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to