Workspace-like bindings

Klaus D. Witzel klaus.witzel at
Fri May 26 16:05:04 UTC 2006

Hi Stef,

on Fri, 26 May 2006 16:43:58 +0200, you <lecteur at> wrote:

> answering to myself... I eventually found out that
> 	Compiler evaluate: aString
> 		for: anObject notifying: anObject logged: false
> does what I want provided that anObject class implements #bindingOf:  
> plus a dummy method #text returning ' ' and a dummy #selectionInterval  
> returning (1 to: 1).
> this is because methods #temporariesIn: and #removeUnusedTemps in Parser  
> require the requestor to handle those messages. this could be changed  
> IMHO, so that simply providing bindingOf: does the job.
> should I report this in Mantis, or did I miss something ?

This depends on what you want requestor (the argument to notifying:) to  
do, in case of Syntax errors and the like. Try

> 	Compiler evaluate: aString
> 		for: anObject notifying: nil logged: false

and #text and #selectionInterval will not be asked for.


> Stef

More information about the Squeak-dev mailing list