Hehehe! Should have read closer. Sorry about that!
Ron Teitelbaum
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev- bounces@lists.squeakfoundation.org] On Behalf Of Marcus Denker Sent: Wednesday, January 04, 2006 10:40 AM To: The general-purpose Squeak developers list Subject: Re: Block Closures
On 04.01.2006, at 15:47, Hernan Tylim wrote:
Hi,
I wanted to try some experiments with BlockClosures on 3.9, but I can't find how to make the Compiler to use them.
For example, If I inspect [Transcript show: 'hello world'] I get a BlockContext instance, not a BlockClosure one. Is that correct ?
Yes
Do I need to do something to start using BlockClosure ?
You need to install the package "NewCompiler", the latest is on SqueakSource. Then open the preference browser and enable "compileUseNewCompiler" and "compileBlocksAsClosures".
Please note that I have not yet used the NewCompiler in the latest 3.9 (with Traits), so it might not work right now...
Now with the Traits integration done, I will integrate into 3.9 all overwrites / extensions needed for runtime that are right now in the NewCompiler package. This will be done next week.
Marcus