Closure update from eliot

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Closure update from eliot

Stéphane Ducasse


Begin forwarded message:

From: Eliot Miranda <[hidden email]>
Date: May 1, 2009 3:23:48 AM CEDT
To: Stéphane Ducasse <[hidden email]>
Cc: nicolas cellier <[hidden email]>, Lukas Renggli <[hidden email]>
Subject: Re: latest Pharo image?

One thing I recommend you do is to rip out the old closure compiler stuff.  e.g. CompiledMethod>>embeddedBlockMethods.
What I'm doing now is a merge that pulls in the important bug fixes.

Things I'll try and do (or work with you) later are

- ripping out MethodProperties and using the penultimate literal to hold either the selector or an AdditionalMethodState, which is a pragma-friendly replacement for MethodProperties.  Doing this saves a lot of space.

- adding a primitive error code so you can write
       fooPrimitive
             <primitive: 'myprim' module: 'mymodule' error: errorCode>
             errorCode == #'bad receiver' ifTrue: ...

- remove all the old closure compiler stuff.


On Thu, Apr 30, 2009 at 12:42 AM, Stéphane Ducasse <[hidden email]> wrote:
You can find it at

       http://gforge.inria.fr/frs/?group_id=1299
       then you should take the pharo and not pharo-dev
       then you should do update (in system -> software update)

Stef


On Apr 30, 2009, at 12:21 AM, Eliot Miranda wrote:

This reminds me to ask you for a location from which to download the latest Pharo image ith closures so I can check the compiler changes I've made against the image and send you them.  This will be easier and less error-prone than my e.g. extracting the packages we use here and you having to work out the changes.


mmm latest pharo image

 [1 == 0] forkAt: 999.

oops..





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project