programatically generating methods

Niko Matsakis niko at alum.mit.edu
Fri Dec 7 13:02:58 UTC 2007


That looks easy.  I'll give it a try, thanks!


Niko

On Dec 7, 2007, at 11:39 AM, Damien Cassou wrote:

> Hi Niko,
>
> 2007/12/7, Niko Matsakis <niko at alum.mit.edu>:
>> What is the best way to programatically generate a CompiledMethod  
>> from
>> a string?
>
> I'm not sure you want to play with CompiledMethod. What about:
>
> Object  compile: 'method
> 	^ 123.' classified: 'accessing'
>
> -- 
> Damien Cassou
>




More information about the Squeak-dev mailing list